diff options
author | Devang Patel <dpatel@apple.com> | 2011-08-15 23:36:40 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-08-15 23:36:40 +0000 |
commit | 1f4f98d664ce804fd26a5947735af6279d14a7bd (patch) | |
tree | 48d9cc42ea8e15dcb98e5399b72a328147a3118c /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | |
parent | d4737be322d31da4ee38aae12ac82522d44124b7 (diff) | |
download | bcm5719-llvm-1f4f98d664ce804fd26a5947735af6279d14a7bd.tar.gz bcm5719-llvm-1f4f98d664ce804fd26a5947735af6279d14a7bd.zip |
Continue to hoist uses of getCompileUnit() up. The goal is to get rid of uses of getCompileUnit().
llvm-svn: 137683
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 164900019eb..5ff0994c9eb 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -416,10 +416,10 @@ private: CompileUnit *getCompileUnit(const MDNode *N) const; /// constructGlobalVariableDIE - Construct global variable DIE. - void constructGlobalVariableDIE(const MDNode *N); + void constructGlobalVariableDIE(CompileUnit *TheCU, const MDNode *N); /// construct SubprogramDIE - Construct subprogram DIE. - void constructSubprogramDIE(const MDNode *N); + void constructSubprogramDIE(CompileUnit *TheCU, const MDNode *N); /// recordSourceLine - Register a source line with debug info. Returns the /// unique label that was emitted and which provides correspondence to |