about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-05-27 16:07:39 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-05-27 16:07:39 +0000
commit14f53fcc478fe46e76240ce3ee920adda74ddcd5 (patch)
tree9e610eefcfb03b6bd9a6b02f988db70c8deae430
parent0192b63f304c75f225d7ad13c1ee348597195c77 (diff)
downloadklee-14f53fcc478fe46e76240ce3ee920adda74ddcd5.tar.gz
Unbreak istats
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@72473 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Core/StatsTracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/StatsTracker.cpp b/lib/Core/StatsTracker.cpp
index 35c073a3..7a87024d 100644
--- a/lib/Core/StatsTracker.cpp
+++ b/lib/Core/StatsTracker.cpp
@@ -468,7 +468,7 @@ void StatsTracker::writeIStats() {
       for (Function::iterator bbIt = fnIt->begin(), bb_ie = fnIt->end(); 
            bbIt != bb_ie; ++bbIt) {
         for (BasicBlock::iterator it = bbIt->begin(), ie = bbIt->end(); 
-             it != it; ++it) {
+             it != ie; ++it) {
           Instruction *instr = &*it;
           const InstructionInfo &ii = executor.kmodule->infos->getInfo(instr);
           unsigned index = ii.id;