[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp

Chris Lattner lattner at cs.uiuc.edu
Sun Aug 24 01:59:14 PDT 2003


Changes in directory llvm/lib/VMCore:

Function.cpp updated: 1.43 -> 1.44

---
Log message:

Fix copy-and-paste-o


---
Diffs of the changes:

Index: llvm/lib/VMCore/Function.cpp
diff -u llvm/lib/VMCore/Function.cpp:1.43 llvm/lib/VMCore/Function.cpp:1.44
--- llvm/lib/VMCore/Function.cpp:1.43	Sun Aug 24 00:30:29 2003
+++ llvm/lib/VMCore/Function.cpp	Sun Aug 24 01:57:53 2003
@@ -197,8 +197,8 @@
     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;





More information about the llvm-commits mailing list