forked from OSchip/llvm-project
Fix stupid mistake I made in the exception handling code
llvm-svn: 56100
This commit is contained in:
parent
f66e1120c6
commit
3a3c2444d6
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue