diff options
Diffstat (limited to 'gcc/objc/objc-act.c')
-rw-r--r-- | gcc/objc/objc-act.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index f114b65..b6a01ed 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -420,8 +420,7 @@ static int generating_instance_variables = 0; is compiled as part of obj-c++. */ static bool objc_building_struct; -static bool objc_in_struct ATTRIBUTE_UNUSED; -static VEC(tree,heap) *objc_struct_types ATTRIBUTE_UNUSED; +static struct c_struct_parse_info *objc_struct_info ATTRIBUTE_UNUSED; /* Start building a struct for objc. */ @@ -430,8 +429,7 @@ objc_start_struct (tree name) { gcc_assert (!objc_building_struct); objc_building_struct = true; - return start_struct (input_location, RECORD_TYPE, - name, &objc_in_struct, &objc_struct_types); + return start_struct (input_location, RECORD_TYPE, name, &objc_struct_info); } /* Finish building a struct for objc. */ @@ -442,7 +440,7 @@ objc_finish_struct (tree type, tree fieldlist) gcc_assert (objc_building_struct); objc_building_struct = false; return finish_struct (input_location, type, fieldlist, NULL_TREE, - objc_in_struct, objc_struct_types); + objc_struct_info); } /* Some platforms pass small structures through registers versus |