Changes in directory llvm/lib/Target/PowerPC:

PPCRegisterInfo.cpp updated: 1.54 -> 1.55
---
Log message:

Suppress debug label when not debug.


---
Diffs of the changes:  (+1 -1)

 PPCRegisterInfo.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
diff -u llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.54 
llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.55
--- llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.54    Fri Apr  7 11:34:45 2006
+++ llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp Tue Apr 11 03:11:53 2006
@@ -407,7 +407,7 @@
         .addReg(PPC::R1).addReg(PPC::R1).addReg(PPC::R0);
   }
   
-  if (DebugInfo) {
+  if (DebugInfo && DebugInfo->hasInfo()) {
     std::vector<MachineMove *> &Moves = DebugInfo->getFrameMoves();
     unsigned LabelID = DebugInfo->NextLabelID();
     



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to