[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Reader.cpp
Jim Laskey
jlaskey at apple.com
Mon Mar 13 05:07:56 PST 2006
Changes in directory llvm/lib/Bytecode/Reader:
Reader.cpp updated: 1.189 -> 1.190
---
Log message:
Handle the removal of the debug chain.
---
Diffs of the changes: (+2 -2)
Reader.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/Bytecode/Reader/Reader.cpp
diff -u llvm/lib/Bytecode/Reader/Reader.cpp:1.189 llvm/lib/Bytecode/Reader/Reader.cpp:1.190
--- llvm/lib/Bytecode/Reader/Reader.cpp:1.189 Thu Mar 2 17:59:12 2006
+++ llvm/lib/Bytecode/Reader/Reader.cpp Mon Mar 13 07:07:37 2006
@@ -1861,8 +1861,8 @@
if (!upgradedFunctions.empty()) {
for (Function::iterator BI = F->begin(), BE = F->end(); BI != BE; ++BI)
for (BasicBlock::iterator II = BI->begin(), IE = BI->end();
- II != IE; ++II)
- if (CallInst* CI = dyn_cast<CallInst>(II)) {
+ II != IE;)
+ if (CallInst* CI = dyn_cast<CallInst>(II++)) {
std::map<Function*,Function*>::iterator FI =
upgradedFunctions.find(CI->getCalledFunction());
if (FI != upgradedFunctions.end())
More information about the llvm-commits
mailing list