aboutsummaryrefslogtreecommitdiff
path: root/gcc/stub-objc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/stub-objc.c')
-rw-r--r--gcc/stub-objc.c67
1 files changed, 67 insertions, 0 deletions
diff --git a/gcc/stub-objc.c b/gcc/stub-objc.c
index f01fd9b4249..5c9fed9b4e1 100644
--- a/gcc/stub-objc.c
+++ b/gcc/stub-objc.c
@@ -70,6 +70,14 @@ objc_comptypes (tree ARG_UNUSED (lhs), tree ARG_UNUSED (rhs),
return -1;
}
+/* APPLE LOCAL begin Radar 4055183 */
+tree
+objc_rewrite_function_call (tree function, tree ARG_UNUSED (params))
+{
+ return function;
+}
+
+/* APPLE LOCAL end Radar 4055183 */
tree
objc_message_selector (void)
{
@@ -230,6 +238,14 @@ objc_get_class_reference (tree ARG_UNUSED (name))
return 0;
}
+/* APPLE LOCAL begin Objective-C++ */
+tree
+objc_get_class_ivars (tree ARG_UNUSED (name))
+{
+ return 0;
+}
+/* APPLE LOCAL end Objective-C++ */
+
tree
objc_get_protocol_qualified_type (tree ARG_UNUSED (name),
tree ARG_UNUSED (protos))
@@ -254,3 +270,54 @@ objc_is_public (tree ARG_UNUSED (expr), tree ARG_UNUSED (identifier))
{
return 1;
}
+
+/* APPLE LOCAL begin Objective-C++ */
+tree
+objc_build_throw_stmt (tree ARG_UNUSED (expr))
+{
+ return 0;
+}
+
+void
+objc_begin_try_stmt (location_t ARG_UNUSED (loc), tree ARG_UNUSED (stmt))
+{
+}
+
+tree
+objc_finish_try_stmt (void)
+{
+ return 0;
+}
+
+void
+objc_begin_catch_clause (tree ARG_UNUSED (parm))
+{
+}
+
+void
+objc_finish_catch_clause (void) {
+}
+
+void
+objc_build_finally_clause (location_t ARG_UNUSED (location),
+ tree ARG_UNUSED (stmt))
+{
+}
+
+tree
+objc_build_synchronized (location_t ARG_UNUSED (location),
+ tree ARG_UNUSED (lock), tree ARG_UNUSED (stmt))
+{
+ return 0;
+}
+/* APPLE LOCAL end Objective-C++ */
+
+/* APPLE LOCAL begin ObjC GC */
+tree
+objc_generate_write_barrier (tree ARG_UNUSED (lhs),
+ enum tree_code ARG_UNUSED (modifycode),
+ tree ARG_UNUSED (rhs))
+{
+ return 0;
+}
+/* APPLE LOCAL end ObjC GC */