forked from OSchip/llvm-project
parent
4bd8dd8568
commit
d9c7bcf4bc
|
@ -63,7 +63,7 @@ RValue CodeGenFunction::EmitObjCMessageExpr(const ObjCMessageExpr *E) {
|
||||||
// Very special case, super send in class method. The receiver is
|
// Very special case, super send in class method. The receiver is
|
||||||
// self (the class object) and the send uses super semantics.
|
// self (the class object) and the send uses super semantics.
|
||||||
if (!OID) {
|
if (!OID) {
|
||||||
assert(!strcmp(E->getClassName()->getName(), "super") &&
|
assert(E->getClassName()->isName("super")) &&
|
||||||
"Unexpected missing class interface in message send.");
|
"Unexpected missing class interface in message send.");
|
||||||
isSuperMessage = true;
|
isSuperMessage = true;
|
||||||
Receiver = LoadObjCSelf();
|
Receiver = LoadObjCSelf();
|
||||||
|
|
Loading…
Reference in New Issue