aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-09-21 22:09:32 -0700
committerRichard Henderson <rth@gcc.gnu.org>2003-09-21 22:09:32 -0700
commitf31686a322301454c5ea5b997997aa7c84c57781 (patch)
treed942bc168b4a8f91e17acf863e1d2091ff773b6c /gcc/tree-inline.c
parent0f7fcd6a40a237b634e0f93f1206724add7354d3 (diff)
downloadgcc-f31686a322301454c5ea5b997997aa7c84c57781.zip
gcc-f31686a322301454c5ea5b997997aa7c84c57781.tar.gz
gcc-f31686a322301454c5ea5b997997aa7c84c57781.tar.bz2
Revert DECL_SOURCE_LOCATION -> TREE_LOCUS change.
From-SVN: r71641
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 13cb5bb..e4e24b2 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -1322,7 +1322,7 @@ expand_call_inline (tree *tp, int *walk_subtrees, void *data)
line numbers corresponding to the function we are calling. We
wrap the whole inlined body in an EXPR_WITH_FILE_AND_LINE as well
because individual statements don't record the filename. */
- push_srcloc (TREE_FILENAME (fn), TREE_LINENO (fn));
+ push_srcloc (DECL_SOURCE_FILE (fn), DECL_SOURCE_LINE (fn));
#ifndef INLINER_FOR_JAVA
/* Build a statement-expression containing code to initialize the
@@ -1522,7 +1522,7 @@ expand_call_inline (tree *tp, int *walk_subtrees, void *data)
#ifndef INLINER_FOR_JAVA
chain = TREE_CHAIN (*tp);
#endif /* INLINER_FOR_JAVA */
- *tp = build_expr_wfl (expr, TREE_FILENAME (fn), TREE_LINENO (fn),
+ *tp = build_expr_wfl (expr, DECL_SOURCE_FILE (fn), DECL_SOURCE_LINE (fn),
/*col=*/0);
EXPR_WFL_EMIT_LINE_NOTE (*tp) = 1;
#ifndef INLINER_FOR_JAVA