diff options
author | Adrian Prantl <aprantl@apple.com> | 2013-04-30 22:35:14 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2013-04-30 22:35:14 +0000 |
commit | 86a87d9ba1faf153e0e6eaddfd3e95595c83bcb1 (patch) | |
tree | 47a19f014e0d437591cd4de7018bbb9b9fe17478 /lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | a2b56692c8b824b8cc4a0927bb555f3718e9bee8 (diff) | |
download | llvm-86a87d9ba1faf153e0e6eaddfd3e95595c83bcb1.tar.gz llvm-86a87d9ba1faf153e0e6eaddfd3e95595c83bcb1.tar.bz2 llvm-86a87d9ba1faf153e0e6eaddfd3e95595c83bcb1.tar.xz |
Temporarily revert "Change the informal convention of DBG_VALUE so that we can express a"
because it breaks some buildbots.
This reverts commit 180816.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180819 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 284b6165d0..4a71ad3337 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -597,9 +597,7 @@ static bool emitDebugValueComment(const MachineInstr *MI, AsmPrinter &AP) { OS << AP.TM.getRegisterInfo()->getName(MI->getOperand(0).getReg()); } - // It's only an offset if it's an immediate. - if (MI->getOperand(1).isImm()) - OS << '+' << MI->getOperand(1).getImm(); + OS << '+' << MI->getOperand(1).getImm(); // NOTE: Want this comment at start of line, don't emit with AddComment. AP.OutStreamer.EmitRawText(OS.str()); return true; |