summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-05-31 23:30:30 +0000
committerDevang Patel <dpatel@apple.com>2011-05-31 23:30:30 +0000
commit1cb8ab456c99065228c5cc22becad66eb4976d71 (patch)
treedac9c43e547bb9cd6d032f27e9aaeb673e81fc75 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
parent4533dada397fa4016a83b23fd3eb51555d47b147 (diff)
downloadbcm5719-llvm-1cb8ab456c99065228c5cc22becad66eb4976d71.tar.gz
bcm5719-llvm-1cb8ab456c99065228c5cc22becad66eb4976d71.zip
Refactor.
llvm-svn: 132373
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index 2edca8954b3..3cfbd73ef82 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud