[llvm-commits] [llvm] r147264 - /llvm/trunk/tools/bugpoint/CrashDebugger.cpp
Bill Wendling
isanbard at gmail.com
Sat Dec 24 22:56:22 PST 2011
Author: void
Date: Sun Dec 25 00:56:22 2011
New Revision: 147264
URL: http://llvm.org/viewvc/llvm-project?rev=147264&view=rev
Log:
Add braces to remove silly warning.
Modified:
llvm/trunk/tools/bugpoint/CrashDebugger.cpp
Modified: llvm/trunk/tools/bugpoint/CrashDebugger.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/CrashDebugger.cpp?rev=147264&r1=147263&r2=147264&view=diff
==============================================================================
--- llvm/trunk/tools/bugpoint/CrashDebugger.cpp (original)
+++ llvm/trunk/tools/bugpoint/CrashDebugger.cpp Sun Dec 25 00:56:22 2011
@@ -569,7 +569,7 @@
for (Function::const_iterator BI = FI->begin(), E = FI->end(); BI != E;
++BI)
for (BasicBlock::const_iterator I = BI->begin(), E = --BI->end();
- I != E; ++I, ++CurInstructionNum)
+ I != E; ++I, ++CurInstructionNum) {
if (InstructionsToSkipBeforeDeleting) {
--InstructionsToSkipBeforeDeleting;
} else {
@@ -594,6 +594,7 @@
// one.
delete M;
}
+ }
if (InstructionsToSkipBeforeDeleting) {
InstructionsToSkipBeforeDeleting = 0;
More information about the llvm-commits
mailing list