[llvm-branch-commits] [llvm-gcc-branch] r110260 - /llvm-gcc-4.2/branches/Apple/Pertwee/gcc/objc/objc-act.c

Stuart Hastings stuart at apple.com
Wed Aug 4 15:19:04 PDT 2010


Author: stuart
Date: Wed Aug  4 17:19:04 2010
New Revision: 110260

URL: http://llvm.org/viewvc/llvm-project?rev=110260&view=rev
Log:
Pertweenify r110250.  Radar 8264670.

Modified:
    llvm-gcc-4.2/branches/Apple/Pertwee/gcc/objc/objc-act.c

Modified: llvm-gcc-4.2/branches/Apple/Pertwee/gcc/objc/objc-act.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Pertwee/gcc/objc/objc-act.c?rev=110260&r1=110259&r2=110260&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Pertwee/gcc/objc/objc-act.c (original)
+++ llvm-gcc-4.2/branches/Apple/Pertwee/gcc/objc/objc-act.c Wed Aug  4 17:19:04 2010
@@ -19636,7 +19636,8 @@
     return other;
   /* APPLE LOCAL end radar 5796058 - blocks */
                
-  if (!strcmp (IDENTIFIER_POINTER (id), "super"))
+  if (id && TREE_CODE (id) == IDENTIFIER_NODE
+      && !strcmp (IDENTIFIER_POINTER (id), "super"))
     /* We have a message to super.  */
     return get_super_receiver ();
 





More information about the llvm-branch-commits mailing list