diff options
| author | Julian Büning <julian.buening@rwth-aachen.de> | 2020-10-10 15:13:40 +0200 |
|---|---|---|
| committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2020-11-12 10:13:54 +0000 |
| commit | bda35257b64545870c6de5fe8aba573ef82945d9 (patch) | |
| tree | 0ed00a0d18ffb012518abc23342701e20459035e /lib/Core/ExecutionState.cpp | |
| parent | c763a4087f1d8fa4dbdfb9c8f30d545cdb66a0aa (diff) | |
| download | klee-bda35257b64545870c6de5fe8aba573ef82945d9.tar.gz | |
Casting.h: isa_and_nonnull<>
Diffstat (limited to 'lib/Core/ExecutionState.cpp')
| -rw-r--r-- | lib/Core/ExecutionState.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Core/ExecutionState.cpp b/lib/Core/ExecutionState.cpp index 97f97a8b..47a3b3c6 100644 --- a/lib/Core/ExecutionState.cpp +++ b/lib/Core/ExecutionState.cpp @@ -16,6 +16,7 @@ #include "klee/Module/InstructionInfoTable.h" #include "klee/Module/KInstruction.h" #include "klee/Module/KModule.h" +#include "klee/Support/Casting.h" #include "klee/Support/OptionCategories.h" #include "llvm/IR/Function.h" @@ -342,7 +343,7 @@ void ExecutionState::dumpStack(llvm::raw_ostream &out) const { out << ai->getName().str(); // XXX should go through function ref<Expr> value = sf.locals[sf.kf->getArgRegister(index++)].value; - if (value.get() && isa<ConstantExpr>(value)) + if (isa_and_nonnull<ConstantExpr>(value)) out << "=" << value; } out << ")"; |
