[llvm-commits] [llvm-gcc-4.0] r43163 - /llvm-gcc-4.0/trunk/gcc/objc/objc-act.c
Devang Patel
dpatel at apple.com
Thu Oct 18 18:28:43 PDT 2007
Author: dpatel
Date: Thu Oct 18 20:28:43 2007
New Revision: 43163
URL: http://llvm.org/viewvc/llvm-project?rev=43163&view=rev
Log:
Fix http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071015/054686.html
Modified:
llvm-gcc-4.0/trunk/gcc/objc/objc-act.c
Modified: llvm-gcc-4.0/trunk/gcc/objc/objc-act.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.0/trunk/gcc/objc/objc-act.c?rev=43163&r1=43162&r2=43163&view=diff
==============================================================================
--- llvm-gcc-4.0/trunk/gcc/objc/objc-act.c (original)
+++ llvm-gcc-4.0/trunk/gcc/objc/objc-act.c Thu Oct 18 20:28:43 2007
@@ -11047,8 +11047,12 @@
meth_var_types),
eltlist);
- eltlist = tree_cons (NULL_TREE, build_int_cst (NULL_TREE, 0), eltlist);
-
+ /* LLVM LOCAL begin */
+ eltlist = tree_cons (NULL_TREE,
+ convert (objc_method_list_ptr,
+ build_int_cst (NULL_TREE, 0)),
+ eltlist);
+ /* LLVM LOCAL end */
initlist
= tree_cons (NULL_TREE,
objc_build_constructor (type, nreverse (eltlist)),
More information about the llvm-commits
mailing list