[cfe-commits] r56100 - /cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Anders Carlsson
andersca at mac.com
Wed Sep 10 23:35:14 PDT 2008
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.
More information about the cfe-commits
mailing list