aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-07-14 23:18:15 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-07-14 21:18:15 +0000
commit9ae130f857c95929cd8af833b66f526827a7f701 (patch)
treeb05a5187c5f66174f8834e8f396ca621a418a89d /gcc/final.c
parente07d4821a6f45e995f275980874c8ac6050cc548 (diff)
downloadgcc-9ae130f857c95929cd8af833b66f526827a7f701.zip
gcc-9ae130f857c95929cd8af833b66f526827a7f701.tar.gz
gcc-9ae130f857c95929cd8af833b66f526827a7f701.tar.bz2
cfglayout.c (locator_file): Break out from ....
* cfglayout.c (locator_file): Break out from .... (insn_file): ... here. (locator_line): Break out from .... (insn_line): ... here. * rtl.h (locator_file, locator_line): Declare. (final_start_function): Set proper line/file info. From-SVN: r69359
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/final.c b/gcc/final.c
index e3ded5d..cfc730c 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -1349,8 +1349,9 @@ final_start_function (rtx first ATTRIBUTE_UNUSED, FILE *file,
}
#endif
- last_linenum = 0;
- last_filename = 0;
+ last_filename = locator_file (prologue_locator);
+ last_linenum = locator_line (prologue_locator);
+
high_block_linenum = high_function_linenum = last_linenum;
(*debug_hooks->begin_prologue) (last_linenum, last_filename);