aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-03-24 21:10:36 +0000
committerJim Laskey <jlaskey@mac.com>2006-03-24 21:10:36 +0000
commit5b4939907edab7ca3d77b04bc1d436668af50b3b (patch)
treec77601494405d346b441ea89f6046ea0fc4797e6 /lib/CodeGen
parent2ca956f8dede03c23f6b497395cd3b99ebd1eb8a (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')
-rw-r--r--lib/CodeGen/DwarfWriter.cpp2
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());
}