diff options
Diffstat (limited to 'lib/Core/Executor.cpp')
-rw-r--r-- | lib/Core/Executor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp index 08cf3f74..e13cebb9 100644 --- a/lib/Core/Executor.cpp +++ b/lib/Core/Executor.cpp @@ -1427,6 +1427,7 @@ void Executor::executeInstruction(ExecutionState &state, KInstruction *ki) { } break; } +#if LLVM_VERSION_CODE < LLVM_VERSION(3, 1) case Instruction::Unwind: { for (;;) { KInstruction *kcaller = state.stack.back().caller; @@ -1448,6 +1449,7 @@ void Executor::executeInstruction(ExecutionState &state, KInstruction *ki) { } break; } +#endif case Instruction::Br: { BranchInst *bi = cast<BranchInst>(i); if (bi->isUnconditional()) { |