diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-03-01 18:20:30 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-03-01 18:20:30 +0000 |
commit | 92ae7403964e522267f557772e0eb408116e35ac (patch) | |
tree | 541e348f5a1c47cedd314c4fcf5e5fd4f3ea45d2 /include | |
parent | 288fe0f74da02944e3a9b3fc2a751789482faf0b (diff) | |
download | external_llvm-92ae7403964e522267f557772e0eb408116e35ac.zip external_llvm-92ae7403964e522267f557772e0eb408116e35ac.tar.gz external_llvm-92ae7403964e522267f557772e0eb408116e35ac.tar.bz2 |
Use context and not compile unit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26453 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/DwarfWriter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/DwarfWriter.h b/include/llvm/CodeGen/DwarfWriter.h index d4da085..edfbeea 100644 --- a/include/llvm/CodeGen/DwarfWriter.h +++ b/include/llvm/CodeGen/DwarfWriter.h @@ -296,13 +296,13 @@ public: /// NewBasicType - Creates a new basic type if necessary, then adds to the /// owner. /// FIXME - Should never be needed. - DIE *NewBasicType(CompileUnit *Unit, Type *Ty); + DIE *NewBasicType(DIE *Context, Type *Ty); private: /// NewType - Create a new type DIE. /// - DIE *DwarfWriter::NewType(CompileUnit *Unit, TypeDesc *TyDesc); + DIE *DwarfWriter::NewType(DIE *Context, TypeDesc *TyDesc); /// NewCompileUnit - Create new compile unit and it's die. /// |