Commit 2d66a8d3 by Ben Elliston Committed by Mike Stump

objc-act.c (generate_struct_by_value_array): Do not output a definition for struct_forward_array.

2011-01-14  Ben Elliston  <bje@au.ibm.com>

	* objc-act.c (generate_struct_by_value_array): Do not output a
	definition for struct_forward_array.

From-SVN: r168823
parent aeb459fb
2011-01-14 Ben Elliston <bje@au.ibm.com>
* objc-act.c (generate_struct_by_value_array): Do not output a
definition for struct_forward_array.
2011-01-08 Iain Sandoe <iains@gcc.gnu.org>
* objc-act.c (objc_finish_foreach_loop): Mark collection expression
......
......@@ -558,15 +558,7 @@ generate_struct_by_value_array (void)
for (i = 31; i >= 0; i--)
if (!aggregate_in_mem[i])
break;
printf ("#define OBJC_MAX_STRUCT_BY_VALUE %d\n\n", i);
/* The first member of the structure is always 0 because we don't handle
structures with 0 members */
printf ("static int struct_forward_array[] = {\n 0");
for (j = 1; j <= i; j++)
printf (", %d", aggregate_in_mem[j]);
printf ("\n};\n");
printf ("#define OBJC_MAX_STRUCT_BY_VALUE %d\n", i);
}
exit (0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment