diff options
Diffstat (limited to 'lib/VMCore/Function.cpp')
-rw-r--r-- | lib/VMCore/Function.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index 654cf547e9..4527372ae7 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -197,8 +197,8 @@ unsigned Function::getIntrinsicID() const { break; case 'e': if (getName() == "llvm.exc.getcurrent")return LLVMIntrinsic::exc_getcurrent; - if (getName() == "llvm.exc.rethrow") return LLVMIntrinsic::exc_getcurrent; - if (getName() == "llvm.exc.throw") return LLVMIntrinsic::exc_getcurrent; + if (getName() == "llvm.exc.rethrow") return LLVMIntrinsic::exc_rethrow; + if (getName() == "llvm.exc.throw") return LLVMIntrinsic::exc_throw; break; case 'l': if (getName() == "llvm.longjmp") return LLVMIntrinsic::longjmp; |