aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/parse.h
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2003-06-09 12:57:15 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2003-06-09 12:57:15 +0000
commit36f04556d6bf6b8c272065bab473e354e8540ca9 (patch)
tree2c36f0d548c266e7b466be2d29acaab8cb00f8e1 /gcc/java/parse.h
parent86143cb4c392278ae78e47eb4fe884ba82364d6f (diff)
downloadgcc-36f04556d6bf6b8c272065bab473e354e8540ca9.zip
gcc-36f04556d6bf6b8c272065bab473e354e8540ca9.tar.gz
gcc-36f04556d6bf6b8c272065bab473e354e8540ca9.tar.bz2
tree-inline.c (expand_call_inline): DECL_SOURCE_LINE_FIRST is removed.
* 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. From-SVN: r67661
Diffstat (limited to 'gcc/java/parse.h')
-rw-r--r--gcc/java/parse.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/java/parse.h b/gcc/java/parse.h
index 207bb8d..df1fa56 100644
--- a/gcc/java/parse.h
+++ b/gcc/java/parse.h
@@ -610,14 +610,6 @@ typedef struct jdeplist_s jdeplist;
#define GET_CURRENT_BLOCK(F) ((F) ? DECL_FUNCTION_BODY ((F)) : \
current_static_block)
-/* Merge an other line to the source line number of a decl. Used to
- remember function's end. */
-#define DECL_SOURCE_LINE_MERGE(DECL,NO) DECL_SOURCE_LINE(DECL) |= (NO << 16)
-
-/* Retrieve those two info separately. */
-#define DECL_SOURCE_LINE_FIRST(DECL) (DECL_SOURCE_LINE(DECL) & 0x0000ffff)
-#define DECL_SOURCE_LINE_LAST(DECL) (DECL_SOURCE_LINE(DECL) >> 16)
-
/* Retrieve line/column from a WFL. */
#define EXPR_WFL_GET_LINECOL(V,LINE,COL) \
{ \