diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-01-07 03:34:28 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-01-07 03:34:28 +0000 |
commit | cd2a3ba227ec911a49752265362a07008a50aac6 (patch) | |
tree | 4dc1d6254e96cddffb6b0b0b93145fa144532257 /gcc/objc | |
parent | 65289a3a42e60ebfe23f858ccfa0e66b13e844ed (diff) | |
download | gcc-cd2a3ba227ec911a49752265362a07008a50aac6.zip gcc-cd2a3ba227ec911a49752265362a07008a50aac6.tar.gz gcc-cd2a3ba227ec911a49752265362a07008a50aac6.tar.bz2 |
toplev.c (main): Call the front-end specific post_options hook if one is given.
* 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.
From-SVN: r38757
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/objc-act.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 99f2d23..06b0e8c 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. */ |