[llvm-commits] CVS: llvm/lib/Target/X86/X86FloatingPoint.cpp

Chris Lattner sabre at nondot.org
Thu Dec 7 21:41:41 PST 2006



Changes in directory llvm/lib/Target/X86:

X86FloatingPoint.cpp updated: 1.65 -> 1.66
---
Log message:

Fix a bug introduced by the streams patch.  DEBUG code was made unconditional.


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

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


Index: llvm/lib/Target/X86/X86FloatingPoint.cpp
diff -u llvm/lib/Target/X86/X86FloatingPoint.cpp:1.65 llvm/lib/Target/X86/X86FloatingPoint.cpp:1.66
--- llvm/lib/Target/X86/X86FloatingPoint.cpp:1.65	Thu Dec  7 16:21:48 2006
+++ llvm/lib/Target/X86/X86FloatingPoint.cpp	Thu Dec  7 23:41:26 2006
@@ -210,7 +210,7 @@
         PrevMI = prior(I);
 
     ++NumFP;  // Keep track of # of pseudo instrs
-    DOUT << "\nFPInst:\t"; MI->print(*cerr.stream(), &(MF.getTarget()));
+    DOUT << "\nFPInst:\t" << *MI;
 
     // Get dead variables list now because the MI pointer may be deleted as part
     // of processing!






More information about the llvm-commits mailing list