[llvm-branch-commits] [llvm-branch] r102844 - /llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Dale Johannesen
dalej at apple.com
Sat May 1 09:44:34 PDT 2010
Author: johannes
Date: Sat May 1 11:44:34 2010
New Revision: 102844
URL: http://llvm.org/viewvc/llvm-project?rev=102844&view=rev
Log:
This didn't apply cleanly, modified.
--- Merging r102843 into '.':
U lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Modified:
llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
Modified: llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/AsmPrinter.cpp?rev=102844&r1=102843&r2=102844&view=diff
==============================================================================
--- llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/AsmPrinter.cpp (original)
+++ llvm/branches/Apple/Morbo/lib/CodeGen/AsmPrinter/AsmPrinter.cpp Sat May 1 11:44:34 2010
@@ -470,7 +470,7 @@
for (MachineBasicBlock::const_iterator II = I->begin(), IE = I->end();
II != IE; ++II) {
// Print the assembly for the instruction.
- if (!II->isLabel())
+ if (!II->isLabel() && !II->isDebugValue())
HasAnyRealCode = true;
++EmittedInsts;
More information about the llvm-branch-commits
mailing list