diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-22 05:09:32 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-22 05:09:32 +0000 |
commit | 346064d966aacf0e32acbe60228695344d446f0f (patch) | |
tree | d942bc168b4a8f91e17acf863e1d2091ff773b6c /gcc/coverage.c | |
parent | 99b72d8df1d8826dba9eab345e6862f6582943de (diff) | |
download | gcc-346064d966aacf0e32acbe60228695344d446f0f.tar.gz |
Revert DECL_SOURCE_LOCATION -> TREE_LOCUS change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71641 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/coverage.c')
-rw-r--r-- | gcc/coverage.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/coverage.c b/gcc/coverage.c index dc10206cef8..e6f4129dd79 100644 --- a/gcc/coverage.c +++ b/gcc/coverage.c @@ -410,9 +410,9 @@ checksum_string (unsigned chksum, const char *string) static unsigned compute_checksum (void) { - unsigned chksum = TREE_LINENO (current_function_decl); + unsigned chksum = DECL_SOURCE_LINE (current_function_decl); - chksum = checksum_string (chksum, TREE_FILENAME (current_function_decl)); + chksum = checksum_string (chksum, DECL_SOURCE_FILE (current_function_decl)); chksum = checksum_string (chksum, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl))); @@ -432,8 +432,8 @@ coverage_begin_output (void) if (!bbg_function_announced) { - const char *file = TREE_FILENAME (current_function_decl); - unsigned line = TREE_LINENO (current_function_decl); + const char *file = DECL_SOURCE_FILE (current_function_decl); + unsigned line = DECL_SOURCE_LINE (current_function_decl); unsigned long offset; if (!bbg_file_opened) |