diff options
Diffstat (limited to 'lib/Expr/ExprUtil.cpp')
-rw-r--r-- | lib/Expr/ExprUtil.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Expr/ExprUtil.cpp b/lib/Expr/ExprUtil.cpp index f74b519f..192c18a5 100644 --- a/lib/Expr/ExprUtil.cpp +++ b/lib/Expr/ExprUtil.cpp @@ -26,7 +26,7 @@ void klee::findReads(ref<Expr> e, ExprHashSet visited; std::set<const UpdateNode *> updates; - if (!e.isConstant()) { + if (!e->isConstant()) { visited.insert(e); stack.push_back(e); } @@ -40,7 +40,7 @@ void klee::findReads(ref<Expr> e, // repeats. results.push_back(re); - if (!re->index.isConstant() && + if (!re->index->isConstant() && visited.insert(re->index).second) stack.push_back(re->index); @@ -53,20 +53,20 @@ void klee::findReads(ref<Expr> e, // head, which often will be shared among multiple nodes. if (updates.insert(re->updates.head).second) { for (const UpdateNode *un=re->updates.head; un; un=un->next) { - if (!un->index.isConstant() && + if (!un->index->isConstant() && visited.insert(un->index).second) stack.push_back(un->index); - if (!un->value.isConstant() && + if (!un->value->isConstant() && visited.insert(un->value).second) stack.push_back(un->value); } } } - } else if (!top.isConstant()) { + } else if (!top->isConstant()) { Expr *e = top.get(); for (unsigned i=0; i<e->getNumKids(); i++) { ref<Expr> k = e->getKid(i); - if (!k.isConstant() && + if (!k->isConstant() && visited.insert(k).second) stack.push_back(k); } |