diff options
| author | jsturm <jsturm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-03 13:44:43 +0000 |
|---|---|---|
| committer | jsturm <jsturm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-03 13:44:43 +0000 |
| commit | 9d5ed6b320ec9ecf17c09f3fece86feeaa59ffaa (patch) | |
| tree | 67c1212abb34f567ee45068cdd132021ed676e26 /gcc/java/expr.c | |
| parent | 15425f9168ca854aa0710f6bf96927dbe85db7f2 (diff) | |
| download | ppe42-gcc-9d5ed6b320ec9ecf17c09f3fece86feeaa59ffaa.tar.gz ppe42-gcc-9d5ed6b320ec9ecf17c09f3fece86feeaa59ffaa.zip | |
* decl.c (java_expand_body): New function.
* expr.c (build_class_init): Set DECL_IGNORED_P.
* java-tree.h (start_complete_expand_method,
java_expand_body): Declare.
* jcf-parse.c (cgraph.h): Include.
(java_parse_file): Handle flag_unit_at_a_time.
* lang.c (LANG_HOOKS_TREE_INLINING_START_INLINING,
LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Define.
(java_estimate_num_insns): Use walk_tree_without_duplicates.
(java_start_inlining): New function.
* parse.h (java_finish_classes): Declare.
* parse.y: Include cgraph.h.
(block): Don't special-case empty block production.
(craft_constructor): Set DECL_INLINE.
(source_end_java_method): Handle flag_unit_at_a_time.
Replace inline code with call to java_expand_body.
(start_complete_expand_method): Remove static modifier.
(java_expand_method_bodies): Patch function tree for
class initialization and/or synchronization as needed.
Don't begin RTL expansion yet.
(java_expand_classes): Check flag_unit_at_a_time before
calling finish_class.
(java_finish_classes): New function.
(java_complete_lhs): Ensure COMPOUND_EXPR has non-NULL type.
(patch_assignment): Set DECL_CONTEXT on temporary variable.
(emit_test_initialization): Set DECL_IGNORED_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71024 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/expr.c')
| -rw-r--r-- | gcc/java/expr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 7710008fc28..1c7d501f650 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -1710,6 +1710,8 @@ build_class_init (tree clas, tree expr) optimizing class initialization. */ if (!STATIC_CLASS_INIT_OPT_P ()) DECL_BIT_INDEX(*init_test_decl) = -1; + /* Don't emit any symbolic debugging info for this decl. */ + DECL_IGNORED_P (*init_test_decl) = 1; } init = build (CALL_EXPR, void_type_node, |

