diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Core/Executor.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp index 325e28ab..bf359c2d 100644 --- a/lib/Core/Executor.cpp +++ b/lib/Core/Executor.cpp @@ -1772,14 +1772,8 @@ void Executor::executeCall(ExecutionState &state, KInstruction *ki, Function *f, return; } - // __cxa_throw & _rethrow are already handled in their - // SpecialFunctionHandlers and have already been redirected to their unwind - // destinations, so we must not transfer them to their regular targets. if (InvokeInst *ii = dyn_cast<InvokeInst>(i)) { - if (f->getName() != std::string("__cxa_throw") && - f->getName() != std::string("__cxa_rethrow")) { - transferToBasicBlock(ii->getNormalDest(), i->getParent(), state); - } + transferToBasicBlock(ii->getNormalDest(), i->getParent(), state); } } else { // Check if maximum stack size was reached. |