[llvm-commits] [llvm] r41840 - /llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp

Duncan Sands baldrick at free.fr
Tue Sep 11 05:30:25 PDT 2007


Author: baldrick
Date: Tue Sep 11 07:30:25 2007
New Revision: 41840

URL: http://llvm.org/viewvc/llvm-project?rev=41840&view=rev
Log:
My compiler warns about the semicolon.

Modified:
    llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp

Modified: llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp?rev=41840&r1=41839&r2=41840&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp Tue Sep 11 07:30:25 2007
@@ -256,7 +256,7 @@
         while (Start != BB.begin() && prior(Start) != PrevI) --Start;
         cerr << "Inserted instructions:\n\t";
         Start->print(*cerr.stream(), &MF.getTarget());
-        while (++Start != next(I));
+        while (++Start != next(I)) {}
       }
       dumpStack();
     );





More information about the llvm-commits mailing list