Skip to content
Snippets Groups Projects
  • Jakub Jelinek's avatar
    bcdb1106
    objc-act.c: Include ggc.h. · bcdb1106
    Jakub Jelinek authored
    	* objc/objc-act.c: Include ggc.h.
    	(objc_tree_index, objc_global_trees): Convert most of the
    	static tree variables into a static array with previous names
    	as defines.
    	(objc_ellipsis_node): New variable.
    	(lang_init): Call objc_act_parse_init and c_parse_init.
    	Create objc_ellipsis_node.
    	(build_selector_translation_table): Use objc_ellipsis_node instead
    	of (tree)1.
    	(hack_method_prototype): Likewise.
    	(get_arg_type_list): Likewise.
    	(start_method_def): Likewise.
    	(continue_method_def): Likewise.
    	(gen_method_decl): Likewise.
    	(ggc_mark_imp_list): New function.
    	(ggc_mark_hash_table): New function.
    	(objc_act_parse_init): New function.
    	* objc/objc-act.h (objc_ellipsis_node): Add extern variable.
    	* c-parse.in (c_parse_init): For objc add roots of objc specific
    	local tree variables.
    	* objc/objc-parse.y: Rebuilt.
    	* objc/objc-parse.c: Rebuilt.
    	(opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
    
    	* Object.m (strlen): Provide prototype on all 64bit platforms,
    	not only alpha.
    	* sarray.c (memcpy): Likewise.
    	* encoding.c (objc_layout_finish_structure): Don't use
    	ROUND_TYPE_ALIGN on sparc.
    
    From-SVN: r33092
    bcdb1106
    History
    objc-act.c: Include ggc.h.
    Jakub Jelinek authored
    	* objc/objc-act.c: Include ggc.h.
    	(objc_tree_index, objc_global_trees): Convert most of the
    	static tree variables into a static array with previous names
    	as defines.
    	(objc_ellipsis_node): New variable.
    	(lang_init): Call objc_act_parse_init and c_parse_init.
    	Create objc_ellipsis_node.
    	(build_selector_translation_table): Use objc_ellipsis_node instead
    	of (tree)1.
    	(hack_method_prototype): Likewise.
    	(get_arg_type_list): Likewise.
    	(start_method_def): Likewise.
    	(continue_method_def): Likewise.
    	(gen_method_decl): Likewise.
    	(ggc_mark_imp_list): New function.
    	(ggc_mark_hash_table): New function.
    	(objc_act_parse_init): New function.
    	* objc/objc-act.h (objc_ellipsis_node): Add extern variable.
    	* c-parse.in (c_parse_init): For objc add roots of objc specific
    	local tree variables.
    	* objc/objc-parse.y: Rebuilt.
    	* objc/objc-parse.c: Rebuilt.
    	(opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
    
    	* Object.m (strlen): Provide prototype on all 64bit platforms,
    	not only alpha.
    	* sarray.c (memcpy): Likewise.
    	* encoding.c (objc_layout_finish_structure): Don't use
    	ROUND_TYPE_ALIGN on sparc.
    
    From-SVN: r33092