From 7f736c9351619133e909998d42913008bbe63484 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 24 Aug 2003 06:57:53 +0000 Subject: [PATCH] Fix copy-and-paste-o git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8104 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Function.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index 654cf547e9a..4527372ae75 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;