summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/DwarfWriter.h
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-03-01 18:20:30 +0000
committerJim Laskey <jlaskey@mac.com>2006-03-01 18:20:30 +0000
commit92ae7403964e522267f557772e0eb408116e35ac (patch)
tree541e348f5a1c47cedd314c4fcf5e5fd4f3ea45d2 /include/llvm/CodeGen/DwarfWriter.h
parent288fe0f74da02944e3a9b3fc2a751789482faf0b (diff)
downloadllvm-92ae7403964e522267f557772e0eb408116e35ac.tar.gz
llvm-92ae7403964e522267f557772e0eb408116e35ac.tar.bz2
llvm-92ae7403964e522267f557772e0eb408116e35ac.tar.xz
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/llvm/CodeGen/DwarfWriter.h')
-rw-r--r--include/llvm/CodeGen/DwarfWriter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/DwarfWriter.h b/include/llvm/CodeGen/DwarfWriter.h
index d4da08533c..edfbeea018 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.
///