diff options
author | froydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-06 01:37:00 +0000 |
---|---|---|
committer | froydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-06 01:37:00 +0000 |
commit | 5318d5a9f9b24bb3a03bac380cd6a8cac8bca28b (patch) | |
tree | 06eefaee175f6f613c49a5e5b8325691f5b90bdc /gcc/objc/objc-runtime-shared-support.h | |
parent | 7455b2398b7139bb2af62fa84a0e75561e0bf5b2 (diff) | |
download | gcc-5318d5a9f9b24bb3a03bac380cd6a8cac8bca28b.tar.gz |
don't use build_function_type in the ObjC/C++ frontends
* objc-runtime-shared-support.h (get_arg_type_list): Delete.
(build_function_type_for_method): Declare.
* objc-runtime-hooks.h (struct _objc_runtime_hooks_r): Change
type of get_arg_type_base_list field.
* objc-act.h (OBJC_VOID_AT_END): Delete.
* objc-act.c (get_arg_type_list): Delete.
(build_function_type_for_method): New function.
(objc_decl_method_attributes): Call build_function_type_for_method.
(really_start_method): Likewise.
* objc-gnu-runtime-abi-01.c
(gnu_runtime_abi_01_get_type_arg_list_base): Change prototype and
adjust function accordingly. Update header comment.
(build_objc_method_call): Call build_function_type_for_method.
* objc-next-runtime-abi-01.c
(next_runtime_abi_01_get_type_arg_list_base): Change prototype and
adjust function accordingly. Update header comment.
(build_objc_method_call): Call build_function_type_for_method.
* objc-next-runtime-abi-02.c
(next_runtime_abi_02_get_type_arg_list_base): Change prototype and
adjust function accordingly. Update header comment.
(objc_copy_to_temp_side_effect_params): Take fntype instead of a
typelist. Use function_args_iterator for traversing fntype.
(build_v2_build_objc_method_call): Adjust call to it.
Call build_function_type_for_method
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173465 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc/objc-runtime-shared-support.h')
-rw-r--r-- | gcc/objc/objc-runtime-shared-support.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/objc/objc-runtime-shared-support.h b/gcc/objc/objc-runtime-shared-support.h index c948cfdba98..bb0e5711df0 100644 --- a/gcc/objc/objc-runtime-shared-support.h +++ b/gcc/objc/objc-runtime-shared-support.h @@ -49,7 +49,8 @@ extern void objc_start_function (tree, tree, tree, struct c_arg_info *); extern struct c_arg_info *objc_get_parm_info (int, tree); #endif extern void objc_push_parm (tree); -extern tree get_arg_type_list (tree, int, int); + +extern tree build_function_type_for_method (tree, tree, int, bool); /* Stuff that should be migrated to shared support (or some v1-only file). */ extern void build_super_template (void); |