summaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-09 12:57:15 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-09 12:57:15 +0000
commit8e3b4c7b42c78314b10fbe0c1763898833dc25e7 (patch)
tree2c36f0d548c266e7b466be2d29acaab8cb00f8e1 /gcc/tree-inline.c
parent2f49e3cba18e41a18540499fae35c0f174372d5d (diff)
downloadgcc-8e3b4c7b42c78314b10fbe0c1763898833dc25e7.tar.gz
* tree-inline.c (expand_call_inline): DECL_SOURCE_LINE_FIRST is
removed. * java/java-tree.h (DECL_FUNCTION_LAST_LINE): New. (struct lang_decl_func): Add last_line field. * java/parse.h (DECL_SOURCE_LINE_MERGE, DECL_SOURCE_LINE_FIRST, DECL_SOURCE_LINE_LAST): Remove. * java/parse.y (missing_return_error, finish_method_declaration, lookup_cl, start_artificial_method_body, source_end_java_method, start_complete_expand_method): Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67661 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 1387b9960db..a0fbe8ee635 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -1420,13 +1420,9 @@ expand_call_inline (tp, walk_subtrees, data)
pointing to the right place. */
#ifndef INLINER_FOR_JAVA
chain = TREE_CHAIN (*tp);
+#endif /* INLINER_FOR_JAVA */
*tp = build_expr_wfl (expr, DECL_SOURCE_FILE (fn), DECL_SOURCE_LINE (fn),
/*col=*/0);
-#else /* INLINER_FOR_JAVA */
- *tp = build_expr_wfl (expr, DECL_SOURCE_FILE (fn),
- DECL_SOURCE_LINE_FIRST(fn),
- /*col=*/0);
-#endif /* INLINER_FOR_JAVA */
EXPR_WFL_EMIT_LINE_NOTE (*tp) = 1;
#ifndef INLINER_FOR_JAVA
TREE_CHAIN (*tp) = chain;