relax types
authorChris Lattner <sabre@nondot.org>
Sun, 7 Jan 2007 06:59:47 +0000 (06:59 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 7 Jan 2007 06:59:47 +0000 (06:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32981 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/LowerSetJmp.cpp

index 44b0ab5d5cd7f497202f279aa3e97fa0a5cd397c..ab6ee23cbb87665c29bd07b012907c411a025399 100644 (file)
@@ -61,13 +61,13 @@ namespace {
   class LowerSetJmp : public ModulePass,
                       public InstVisitor<LowerSetJmp> {
     // LLVM library functions...
-    Function* InitSJMap;        // __llvm_sjljeh_init_setjmpmap
-    Function* DestroySJMap;     // __llvm_sjljeh_destroy_setjmpmap
-    Function* AddSJToMap;       // __llvm_sjljeh_add_setjmp_to_map
-    Function* ThrowLongJmp;     // __llvm_sjljeh_throw_longjmp
-    Function* TryCatchLJ;       // __llvm_sjljeh_try_catching_longjmp_exception
-    Function* IsLJException;    // __llvm_sjljeh_is_longjmp_exception
-    Function* GetLJValue;       // __llvm_sjljeh_get_longjmp_value
+    Constant *InitSJMap;        // __llvm_sjljeh_init_setjmpmap
+    Constant *DestroySJMap;     // __llvm_sjljeh_destroy_setjmpmap
+    Constant *AddSJToMap;       // __llvm_sjljeh_add_setjmp_to_map
+    Constant *ThrowLongJmp;     // __llvm_sjljeh_throw_longjmp
+    Constant *TryCatchLJ;       // __llvm_sjljeh_try_catching_longjmp_exception
+    Constant *IsLJException;    // __llvm_sjljeh_is_longjmp_exception
+    Constant *GetLJValue;       // __llvm_sjljeh_get_longjmp_value
 
     typedef std::pair<SwitchInst*, CallInst*> SwitchValuePair;