summaryrefslogtreecommitdiff
path: root/gcc/stub-objc.c
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-17 20:11:44 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-17 20:11:44 +0000
commitddb5d39db4331cd049d1e9f35aa7d41a486fb366 (patch)
treeb42ed8b5d16d1706b3b4c8508c64d8b1dab121f5 /gcc/stub-objc.c
parent0ced0389c95a9b5af0ac18148d00d75e35849019 (diff)
downloadgcc-ddb5d39db4331cd049d1e9f35aa7d41a486fb366.tar.gz
Yet more Objective-C++...
* c-common.h (objc_finish_try_stmt): Add. (objc_build_synchronized): Add. (objc_generate_write_barrier): Add. * stub-objc.c (objc_build_synchronized): Add return value. (objc_finish_try_stmt): Likewise. (objc_generate_write_barrier): Add. * c-common.h (objc_rewrite_function_call): Add. * c-typeck.c (build_function_call): Allow objc to rewrite FUNCTION_DECLs. (build_modify_expr): Allow objc to generate write barriers. * c.opt (Wassign-intercept): Add. (Wstrict-selector-match): Add. (fobjc-call-cxx-cdtors): Add. (fobjc-direct-dispatch): Add. (fobjc-gc): Add. * dbxout.c (get_lang_number): Add Objective-C++ support. * doc/invoke.texi (-fobjc-call-cxx-cdtors): Likewise. (-Wstrict-selector-match): Likewise. (-fobjc-direct-dispatch): Likewise. (-Wassign-intercept): Likewise. (Overall Options): Likewise. * gengtype.c (get_output_file_with_visibility): Likewise. * stub-objc.c (objc_rewrite_function_call): Add. * config/darwin.h (ASM_OUTPUT_LABELREF): Improved quoting support. * c-common.c (flag_objc_exceptions): Remove. (flag_objc_sjlj_exceptions): Remove. * c-decl.c (objc_mark_locals_volatile): Don't change decls that are already ok. * c-opts.c (c_common_handle_option, case OPT_fobjc_exceptions): Remove. (case OPT_fobjc_sjlj_exceptions): Remove * c.opt (fobjc-call-cxx-cdtors): Have opt create the flag. (fobjc-exceptions): Likewise. (fobjc-sjlj-exceptions): Likewise. * config/rs6000/darwin.h (OFFS_MSGSEND_FAST): Add. (OFFS_ASSIGNIVAR_FAST): Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99858 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stub-objc.c')
-rw-r--r--gcc/stub-objc.c24
1 files changed, 20 insertions, 4 deletions
diff --git a/gcc/stub-objc.c b/gcc/stub-objc.c
index 481183fd942..ed9ac97258f 100644
--- a/gcc/stub-objc.c
+++ b/gcc/stub-objc.c
@@ -71,6 +71,12 @@ objc_comptypes (tree ARG_UNUSED (lhs), tree ARG_UNUSED (rhs),
}
tree
+objc_rewrite_function_call (tree function, tree ARG_UNUSED (params))
+{
+ return function;
+}
+
+tree
objc_message_selector (void)
{
return 0;
@@ -257,21 +263,22 @@ objc_is_public (tree ARG_UNUSED (expr), tree ARG_UNUSED (identifier))
}
tree
-objc_get_class_ivars (tree ARG_UNUSED (class_name))
+objc_get_class_ivars (tree ARG_UNUSED (name))
{
return 0;
}
tree
-objc_build_throw_stmt (tree ARG_UNUSED (throw_expr))
+objc_build_throw_stmt (tree ARG_UNUSED (expr))
{
return 0;
}
-void
+tree
objc_build_synchronized (location_t ARG_UNUSED (start_locus),
tree ARG_UNUSED (mutex), tree ARG_UNUSED (body))
{
+ return 0;
}
void
@@ -295,7 +302,16 @@ objc_build_finally_clause (location_t ARG_UNUSED (finally_locus),
{
}
-void
+tree
objc_finish_try_stmt (void)
{
+ return 0;
}
+
+tree
+objc_generate_write_barrier (tree ARG_UNUSED (lhs),
+ enum tree_code ARG_UNUSED (modifycode),
+ tree ARG_UNUSED (rhs))
+{
+ return 0;
+}