[llvm-commits] CVS: llvm/lib/CodeGen/DwarfWriter.cpp
Jim Laskey
jlaskey at apple.com
Fri Mar 24 13:10:49 PST 2006
Changes in directory llvm/lib/CodeGen:
DwarfWriter.cpp updated: 1.51 -> 1.52
---
Log message:
Hack no more.
---
Diffs of the changes: (+0 -2)
DwarfWriter.cpp | 2 --
1 files changed, 2 deletions(-)
Index: llvm/lib/CodeGen/DwarfWriter.cpp
diff -u llvm/lib/CodeGen/DwarfWriter.cpp:1.51 llvm/lib/CodeGen/DwarfWriter.cpp:1.52
--- llvm/lib/CodeGen/DwarfWriter.cpp:1.51 Thu Mar 23 17:05:52 2006
+++ llvm/lib/CodeGen/DwarfWriter.cpp Fri Mar 24 15:10:36 2006
@@ -1552,10 +1552,8 @@
// 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());
}
More information about the llvm-commits
mailing list