diff options
author | Julian Büning <julian.buening@rwth-aachen.de> | 2020-10-10 15:13:06 +0200 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2020-11-12 10:13:54 +0000 |
commit | c763a4087f1d8fa4dbdfb9c8f30d545cdb66a0aa (patch) | |
tree | 5d40c27ecfb16230aa3e714a3e7690b44b322860 /lib/Core/SpecialFunctionHandler.cpp | |
parent | acdb9a692d9eee8dd102befa4e101bfa5f028b0e (diff) | |
download | klee-c763a4087f1d8fa4dbdfb9c8f30d545cdb66a0aa.tar.gz |
Ref: implement operator bool()
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 6d54eb22..153619d3 100644 --- a/lib/Core/SpecialFunctionHandler.cpp +++ b/lib/Core/SpecialFunctionHandler.cpp @@ -464,7 +464,7 @@ void SpecialFunctionHandler::handleEhUnwindRaiseExceptionImpl( "invalid number of arguments to _klee_eh_Unwind_RaiseException_impl"); ref<ConstantExpr> exceptionObject = dyn_cast<ConstantExpr>(arguments[0]); - if (!exceptionObject.get()) { + if (!exceptionObject) { executor.terminateStateOnError(state, "Internal error: Symbolic exception pointer", Executor::Unhandled); |