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 | 5b4939907edab7ca3d77b04bc1d436668af50b3b (patch) | |
tree | c77601494405d346b441ea89f6046ea0fc4797e6 /lib/CodeGen/DwarfWriter.cpp | |
parent | 2ca956f8dede03c23f6b497395cd3b99ebd1eb8a (diff) |
Hack no more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27079 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
-rw-r--r-- | lib/CodeGen/DwarfWriter.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index 5fcfdb56fc..ab38f3158a 100644 --- a/lib/CodeGen/DwarfWriter.cpp +++ b/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()); } |