Commit 081be30b by Richard Stallman

(synth_module_prologue): Call layout_type for the array

type used for _OBJC_SELECTOR_TABLE.

From-SVN: r4932
parent 46dbb914
...@@ -1082,9 +1082,11 @@ synth_module_prologue () ...@@ -1082,9 +1082,11 @@ synth_module_prologue ()
/* static SEL _OBJC_SELECTOR_TABLE[]; */ /* static SEL _OBJC_SELECTOR_TABLE[]; */
temp_type = build_array_type (selector_type, NULLT);
layout_type (temp_type);
if (! flag_next_runtime) if (! flag_next_runtime)
UOBJC_SELECTOR_TABLE_decl UOBJC_SELECTOR_TABLE_decl
= create_builtin_decl (VAR_DECL, build_array_type (selector_type, NULLT), = create_builtin_decl (VAR_DECL, temp_type,
"_OBJC_SELECTOR_TABLE"); "_OBJC_SELECTOR_TABLE");
generate_forward_declaration_to_string_table (); generate_forward_declaration_to_string_table ();
......
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