diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-06-04 08:42:34 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-06-04 08:42:34 +0000 |
commit | 21fb3bd80309b30ed2223e793003ac4744776dfb (patch) | |
tree | c608ff2e150b9ed5687b9225321d7c31235f7641 /lib/Core/SpecialFunctionHandler.cpp | |
parent | f870aa1e0723e9203df495020ee2bf2bc47a6246 (diff) | |
download | klee-21fb3bd80309b30ed2223e793003ac4744776dfb.tar.gz |
Change Solver::getValue to make explicit that result is a ConstantExpr.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@72860 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Core/SpecialFunctionHandler.cpp')
-rw-r--r-- | lib/Core/SpecialFunctionHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/SpecialFunctionHandler.cpp b/lib/Core/SpecialFunctionHandler.cpp index 0ec9a5ac..ea2594eb 100644 --- a/lib/Core/SpecialFunctionHandler.cpp +++ b/lib/Core/SpecialFunctionHandler.cpp @@ -480,7 +480,7 @@ void SpecialFunctionHandler::handlePrintRange(ExecutionState &state, llvm::cerr << msg_str << ":" << arguments[1]; if (!isa<ConstantExpr>(arguments[1])) { // FIXME: Pull into a unique value method? - ref<Expr> value; + ref<ConstantExpr> value; bool success = executor.solver->getValue(state, arguments[1], value); assert(success && "FIXME: Unhandled solver failure"); bool res; |