Fix stupid mistake I made in the exception handling code

llvm-svn: 56100
This commit is contained in:
Anders Carlsson 2008-09-11 06:35:14 +00:00
parent f66e1120c6
commit 3a3c2444d6
1 changed files with 1 additions and 1 deletions

View File

@ -1467,7 +1467,7 @@ void CGObjCMac::EmitTryStmt(CodeGen::CodeGenFunction &CGF,
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.