summaryrefslogtreecommitdiffstats
path: root/gcc/objc/objc-act.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-07 03:34:28 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-07 03:34:28 +0000
commit50c7fc9985f09469a6ab83e74e56029ded86cff5 (patch)
tree4dc1d6254e96cddffb6b0b0b93145fa144532257 /gcc/objc/objc-act.c
parentf6e771aad0d6a9b35f1c355c31233b20028260a7 (diff)
downloadppe42-gcc-50c7fc9985f09469a6ab83e74e56029ded86cff5.tar.gz
ppe42-gcc-50c7fc9985f09469a6ab83e74e56029ded86cff5.zip
* toplev.c (main): Call the front-end specific post_options
hook if one is given. * toplev.h (struct_lang_hooks, lang_hooks): New. * c-lang.c (c_post_options, lang_hooks): Implement lang_hooks for the C front end. * cp/decl2.c (cxx_post_options, lang_hooks): Implement lang_hooks for the C++ front end. * objc/objc-act.c (objc_post_options, lang_hooks): Implement lang_hooks for the ObjC front end. * f/com.c (lang_hooks): Hooks for the Fortran front end. * java/lang.c (lang_hooks): Hooks for the Java front end. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38757 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc/objc-act.c')
-rw-r--r--gcc/objc/objc-act.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 99f2d23055c..06b0e8cbcf3 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -148,6 +148,7 @@ char *util_firstobj;
static void init_objc PARAMS ((void));
static void finish_objc PARAMS ((void));
+static void objc_post_options PARAMS ((void));
/* Code generation. */
@@ -626,6 +627,15 @@ static int generating_instance_variables = 0;
static int print_struct_values = 0;
+/* Each front end provides its own. */
+struct lang_hooks lang_hooks = {objc_post_options};
+
+/* Post-switch processing. */
+static void
+objc_post_options ()
+{
+}
+
/* Some platforms pass small structures through registers versus through
an invisible pointer. Determine at what size structure is the
transition point between the two possibilities. */
OpenPOWER on IntegriCloud