diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-03-24 21:10:36 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-03-24 21:10:36 +0000 |
commit | 3324c7236fcaafbc6a919d5c346afe644d5b1ba0 (patch) | |
tree | 67fceeb51db0e5c47cc0310cc5158752610568c9 /llvm/lib/CodeGen/DwarfWriter.cpp | |
parent | bbba8237069ffa43590f8ab6e3f7b085fccf4fc8 (diff) | |
download | bcm5719-llvm-3324c7236fcaafbc6a919d5c346afe644d5b1ba0.tar.gz bcm5719-llvm-3324c7236fcaafbc6a919d5c346afe644d5b1ba0.zip |
Hack no more.
llvm-svn: 27079
Diffstat (limited to 'llvm/lib/CodeGen/DwarfWriter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/DwarfWriter.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp index 5fcfdb56fc2..ab38f3158a5 100644 --- a/llvm/lib/CodeGen/DwarfWriter.cpp +++ b/llvm/lib/CodeGen/DwarfWriter.cpp @@ -1552,10 +1552,8 @@ DIE *DwarfWriter::NewScopeVariable(DebugVariable *DV, CompileUnit *Unit) { // Add computation for variable. DIEBlock *Block = new DIEBlock(); if (Location.isRegister()) { - // FIXME - This is a real hack. Block->AddUInt(DW_FORM_data1, DW_OP_reg0 + Location.getRegister()); } else { - // FIXME - This is a real hack. Block->AddUInt(DW_FORM_data1, DW_OP_breg0 + Location.getRegister()); Block->AddUInt(DW_FORM_sdata, Location.getOffset()); } |