My compiler warns about the semicolon.
authorDuncan Sands <baldrick@free.fr>
Tue, 11 Sep 2007 12:30:25 +0000 (12:30 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 11 Sep 2007 12:30:25 +0000 (12:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41840 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86FloatingPoint.cpp

index 5d31b1947d10f1c4d4dfcbd5181005585e8d2223..615c05533f3e87711eaca5ffb6bfb0e486e940bd 100644 (file)
@@ -256,7 +256,7 @@ bool FPS::processBasicBlock(MachineFunction &MF, MachineBasicBlock &BB) {
         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();
     );