Author: andersca
Date: Thu Sep 11 01:35:14 2008
New Revision: 56100

URL: http://llvm.org/viewvc/llvm-project?rev=56100&view=rev
Log:
Fix stupid mistake I made in the exception handling code

Modified:
    cfe/trunk/lib/CodeGen/CGObjCMac.cpp

Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCMac.cpp?rev=56100&r1=56099&r2=56100&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCMac.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCMac.cpp Thu Sep 11 01:35:14 2008
@@ -1467,7 +1467,7 @@
         break;
       }
       
-      const ObjCInterfaceType *ObjCType = T->getAsPointerToObjCInterfaceType();
+      const ObjCInterfaceType *ObjCType = T->getAsObjCInterfaceType();
       assert(ObjCType && "Catch parameter must have Objective-C type!");
 
       // Check if the @catch block matches the exception object.


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to