diff options
Diffstat (limited to 'lib/Core/ExecutionState.cpp')
-rw-r--r-- | lib/Core/ExecutionState.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/ExecutionState.cpp b/lib/Core/ExecutionState.cpp index 62376db6..97f97a8b 100644 --- a/lib/Core/ExecutionState.cpp +++ b/lib/Core/ExecutionState.cpp @@ -283,7 +283,7 @@ bool ExecutionState::merge(const ExecutionState &b) { for (unsigned i=0; i<af.kf->numRegisters; i++) { ref<Expr> &av = af.locals[i].value; const ref<Expr> &bv = bf.locals[i].value; - if (av.isNull() || bv.isNull()) { + if (!av || !bv) { // if one is null then by implication (we are at same pc) // we cannot reuse this local, so just ignore } else { |