diff options
author | Mike Stump <mrs@gcc.gnu.org> | 2011-05-04 18:25:20 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2011-05-04 18:25:20 +0000 |
commit | 944fb7998bc4f4d47fa84fda494421da7669d085 (patch) | |
tree | 07d97f3d016f0540978a7cd2ab6948ce8a11c34c /gcc/objc/objc-runtime-hooks.h | |
parent | 42375e2ea3a9043cd0e397b380b35bebf1315202 (diff) | |
download | gcc-944fb7998bc4f4d47fa84fda494421da7669d085.zip gcc-944fb7998bc4f4d47fa84fda494421da7669d085.tar.gz gcc-944fb7998bc4f4d47fa84fda494421da7669d085.tar.bz2 |
Fixup whitespacing.
From-SVN: r173388
Diffstat (limited to 'gcc/objc/objc-runtime-hooks.h')
-rw-r--r-- | gcc/objc/objc-runtime-hooks.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/objc/objc-runtime-hooks.h b/gcc/objc/objc-runtime-hooks.h index b325e75..d2606ff 100644 --- a/gcc/objc/objc-runtime-hooks.h +++ b/gcc/objc/objc-runtime-hooks.h @@ -1,6 +1,6 @@ /* Hooks to abstract the runtime meta-data generation for Objective C. Copyright (C) 2011 Free Software Foundation, Inc. - Contributed by Iain Sandoe + Contributed by Iain Sandoe This file is part of GCC. @@ -23,27 +23,27 @@ along with GCC; see the file COPYING3. If not see /* A set of hooks for the front end to obtain runtime-specific actions. */ -/* Objective-C supports several runtime library variants: +/* Objective-C supports several runtime library variants: "GNU" runtime selected by -fgnu-runtime (currently at ABI version 8). "NeXT" runtime (selected by -fnext-runtime) and installed on OSX/Darwin systems at API version 1 (for m32 code) and version 2 (for m64 code). - + The runtimes require different data types/layouts, method call mechanisms and so on, and the purpose of this interface is to abstract such differences from the parser's perspective. */ /* TODO: Do we want the initial underscore ? */ -typedef struct _objc_runtime_hooks_r +typedef struct _objc_runtime_hooks_r { /* TODO: Expand comments in this file. */ /* Initialize for this runtime. */ void (*initialize) (void); const char *default_constant_string_class_name; - + /* FIXME: Having to check this name should not be necessary. */ - const char *tag_getclass; + const char *tag_getclass; /* id for superclass class field - named differently in the existing runtimes. */ tree (*super_superclassfield_ident) (void); @@ -78,21 +78,21 @@ typedef struct _objc_runtime_hooks_r tree (*get_arg_type_list_base) (tree, int, int); /* Build method call. */ tree (*build_objc_method_call) (location_t, tree, tree, tree, tree, tree, int); - + /* Check for or otherwise handle a request to check that the constant string class reference is set-up & OK. */ bool (*setup_const_string_class_decl) (void); /* Return the tree reprenting a const string constructor for the arg. Most of the data are in global trees. */ tree (*build_const_string_constructor) (location_t, tree, int); - + /* Exceptions. */ tree (*build_throw_stmt) (location_t, tree, bool); tree (*build_exc_ptr) (struct objc_try_context **); tree (*begin_catch) (struct objc_try_context **, tree, tree, tree, bool); void (*finish_catch) (struct objc_try_context **, tree); tree (*finish_try_stmt) (struct objc_try_context **); - + /* Emit all the metadata required by the runtime - based on the tables built during parsing. */ void (*generate_metadata) (void); |