diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2004-06-15 12:46:07 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2004-06-15 12:46:07 +0000 |
commit | 096f22f42494fad3990d6a2d74a9844dd6af977b (patch) | |
tree | af8f6b819cf8320c57100f0ded0f5d0bdbae5c96 /gcc/objc | |
parent | 8cff2a9522fcd7b7af3181f73aa91a2fce666722 (diff) | |
download | gcc-096f22f42494fad3990d6a2d74a9844dd6af977b.zip gcc-096f22f42494fad3990d6a2d74a9844dd6af977b.tar.gz gcc-096f22f42494fad3990d6a2d74a9844dd6af977b.tar.bz2 |
function.h (struct function): Remove cannot_inline field.
gcc/ChangeLog:
2004-06-15 Paolo Bonzini <bonzini@gnu.org>
* function.h (struct function): Remove cannot_inline field.
(current_function_cannot_inline): Remove.
* passes.c (rest_of_compilation): Reset DECL_DEFER_OUTPUT.
Simplify conditionals to ignore warn_return_type.
* tree-optimize.c (tree_rest_of_compilation): Do not reset
DECL_DEFER_OUTPUT.
* objc/objc-act.c (build_module_descriptor, finish_method_def):
Do not set current_function_cannot_inline.
gcc/java/ChangeLog:
2004-06-15 Paolo Bonzini <bonzini@gnu.org>
* class.c (emit_register_classes): Make the function uninlinable,
do not set current_function_cannot_inline.
* resource.c (write_resource_constructor): Do not reset
flag_inline_functions around rest_of_compilation.
gcc/cp/ChangeLog:
2004-06-15 Paolo Bonzini <bonzini@gnu.org>
* cp-tree.h (struct language_function): Remove cannot_inline.
* decl.c (save_function_data): cannot_inline is no more.
(cxx_push_function_context): Likewise.
* decl2.c (start_objects, start_static_storage_duration_function):
Reset DECL_INLINE, set DECL_UNINLINABLE.
From-SVN: r83181
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/objc-act.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 96e29b1..97a36a0 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -1910,8 +1910,6 @@ build_module_descriptor (void) /* Don't let this one be deferred. */ DECL_INLINE (init_function_decl) = 0; DECL_UNINLINABLE (init_function_decl) = 1; - current_function_cannot_inline - = "static constructors and destructors cannot be inlined"; parms = build_tree_list (NULL_TREE, @@ -7981,7 +7979,6 @@ finish_method_def (void) dispatched, so suppress all thoughts of doing so. */ DECL_INLINE (current_function_decl) = 0; DECL_UNINLINABLE (current_function_decl) = 1; - current_function_cannot_inline = "methods cannot be inlined"; finish_function (); lang_expand_function_end = NULL; |