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

Chris Lattner lattner at cs.uiuc.edu
Mon Aug 25 17:36:03 PDT 2003


Changes in directory llvm/lib/VMCore:

Function.cpp updated: 1.45 -> 1.46
Verifier.cpp updated: 1.57 -> 1.58

---
Log message:

As it turns out, things will be simpler than I first expected.  We no longer 
need any exception handling intrinsics beyond llvm.unwind. (yaay)



---
Diffs of the changes:

Index: llvm/lib/VMCore/Function.cpp
diff -u llvm/lib/VMCore/Function.cpp:1.45 llvm/lib/VMCore/Function.cpp:1.46
--- llvm/lib/VMCore/Function.cpp:1.45	Sun Aug 24 07:24:08 2003
+++ llvm/lib/VMCore/Function.cpp	Mon Aug 25 17:35:01 2003
@@ -195,10 +195,6 @@
         if (getName() == alpha_intrinsics[i].name)
           return alpha_intrinsics[i].id;
     break;
-  case 'e':
-    if (getName() == "llvm.exc.getcurrent")return LLVMIntrinsic::exc_getcurrent;
-    if (getName() == "llvm.exc.setcurrent")return LLVMIntrinsic::exc_setcurrent;
-    break;
   case 'l':
     if (getName() == "llvm.longjmp")  return LLVMIntrinsic::longjmp;
     break;


Index: llvm/lib/VMCore/Verifier.cpp
diff -u llvm/lib/VMCore/Verifier.cpp:1.57 llvm/lib/VMCore/Verifier.cpp:1.58
--- llvm/lib/VMCore/Verifier.cpp:1.57	Sun Aug 24 07:24:08 2003
+++ llvm/lib/VMCore/Verifier.cpp	Mon Aug 25 17:35:01 2003
@@ -523,8 +523,6 @@
   case LLVMIntrinsic::va_copy:         NumArgs = 2; break;
 
   case LLVMIntrinsic::unwind:          NumArgs = 0; break;
-  case LLVMIntrinsic::exc_setcurrent:  NumArgs = 1; break;
-  case LLVMIntrinsic::exc_getcurrent:  NumArgs = 0; break;
 
   case LLVMIntrinsic::setjmp:          NumArgs = 1; break;
   case LLVMIntrinsic::longjmp:         NumArgs = 2; break;





More information about the llvm-commits mailing list