[cfe-commits] r59610 - /cfe/trunk/lib/CodeGen/CGObjC.cpp
Chris Lattner
sabre at nondot.org
Wed Nov 19 00:24:50 PST 2008
Author: lattner
Date: Wed Nov 19 02:24:49 2008
New Revision: 59610
URL: http://llvm.org/viewvc/llvm-project?rev=59610&view=rev
Log:
simplify
Modified:
cfe/trunk/lib/CodeGen/CGObjC.cpp
Modified: cfe/trunk/lib/CodeGen/CGObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjC.cpp?rev=59610&r1=59609&r2=59610&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjC.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjC.cpp Wed Nov 19 02:24:49 2008
@@ -63,7 +63,7 @@
// Very special case, super send in class method. The receiver is
// self (the class object) and the send uses super semantics.
if (!OID) {
- assert(!strcmp(E->getClassName()->getName(), "super") &&
+ assert(E->getClassName()->isName("super")) &&
"Unexpected missing class interface in message send.");
isSuperMessage = true;
Receiver = LoadObjCSelf();
More information about the cfe-commits
mailing list