diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-12-25 06:56:22 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-12-25 06:56:22 +0000 |
commit | 2990ec6e9212f201d135cf167f701bc6d96b6842 (patch) | |
tree | e809091066b45b041801cd3bfe174a40bab03d01 /llvm/tools/bugpoint/CrashDebugger.cpp | |
parent | f2855ade2b4cdcdd2b6a0de2b3851bd2b76546c0 (diff) | |
download | bcm5719-llvm-2990ec6e9212f201d135cf167f701bc6d96b6842.tar.gz bcm5719-llvm-2990ec6e9212f201d135cf167f701bc6d96b6842.zip |
Add braces to remove silly warning.
llvm-svn: 147264
Diffstat (limited to 'llvm/tools/bugpoint/CrashDebugger.cpp')
-rw-r--r-- | llvm/tools/bugpoint/CrashDebugger.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/CrashDebugger.cpp b/llvm/tools/bugpoint/CrashDebugger.cpp index cdb100b8d5c..aed16f47e01 100644 --- a/llvm/tools/bugpoint/CrashDebugger.cpp +++ b/llvm/tools/bugpoint/CrashDebugger.cpp @@ -569,7 +569,7 @@ static bool DebugACrash(BugDriver &BD, 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 @@ static bool DebugACrash(BugDriver &BD, // one. delete M; } + } if (InstructionsToSkipBeforeDeleting) { InstructionsToSkipBeforeDeleting = 0; |