Fix copy-and-paste-o

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8104 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-08-24 06:57:53 +00:00
parent 8a376a591f
commit 7f736c9351

View File

@ -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;