diff options
author | Devang Patel <dpatel@apple.com> | 2011-05-31 23:30:30 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-05-31 23:30:30 +0000 |
commit | 66658e4dff51664a53c56dd729b8abe4d57aadef (patch) | |
tree | a9128d95991a3b62681a5fdca614a6a1bc766c09 /lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | |
parent | e9ae06ca987b6c3b6cfbcd50ab85386565a4e0ca (diff) |
Refactor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132373 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfCompileUnit.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h index 2edca8954b..3cfbd73ef8 100644 --- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h +++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h @@ -87,9 +87,7 @@ public: /// addGlobalType - Add a new global type to the compile unit. /// - void addGlobalType(StringRef Name, DIE *Die) { - GlobalTypes[Name] = Die; - } + void addGlobalType(DIType Ty, DIE *Die); /// getDIE - Returns the debug information entry map slot for the /// specified debug variable. |