aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/decl.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2003-08-04 19:06:24 +0000
committerTom Tromey <tromey@gcc.gnu.org>2003-08-04 19:06:24 +0000
commit0e0464535ed47016fb22a3fc5a75a517545fb737 (patch)
tree742e7e6dcafb151fd98c735a76dfb8bc97a7405d /gcc/java/decl.c
parent27a6ded9806552f11c14d7ee3207ce888dd95551 (diff)
downloadgcc-0e0464535ed47016fb22a3fc5a75a517545fb737.zip
gcc-0e0464535ed47016fb22a3fc5a75a517545fb737.tar.gz
gcc-0e0464535ed47016fb22a3fc5a75a517545fb737.tar.bz2
java-tree.h (METHOD_TRANSIENT): Removed.
* java-tree.h (METHOD_TRANSIENT): Removed. * decl.c (pushdecl): Removed some dead code. * class.c (get_access_flags_from_decl): Can't have transient method. (add_method_1): Can't have a transient method. From-SVN: r70152
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r--gcc/java/decl.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index a447d24..c1cebd8 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -1014,9 +1014,6 @@ pushdecl (tree x)
DECL_CONTEXT (x) = current_function_decl;
if (name)
{
- const char *file;
- int line;
-
t = lookup_name_current_level (name);
if (t != 0 && t == error_mark_node)
/* error_mark_node is 0 for a while during initialization! */
@@ -1026,12 +1023,6 @@ pushdecl (tree x)
&DECL_SOURCE_LOCATION (x), x);
}
- if (t != 0)
- {
- file = DECL_SOURCE_FILE (t);
- line = DECL_SOURCE_LINE (t);
- }
-
/* If we're naming a hitherto-unnamed type, set its TYPE_NAME
to point to the TYPE_DECL.
Since Java does not have typedefs, a type can only have