aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-parse.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2002-06-04 20:32:08 +0000
committerZack Weinberg <zack@gcc.gnu.org>2002-06-04 20:32:08 +0000
commitc02ebb18348ef5ef1f334bfc9ece21e390f658a0 (patch)
treea6275d033b57d7601b83e9717938acf4b721796c /gcc/java/jcf-parse.c
parentd6ee617dd7edc5cb721ad5cd320c47acd18e7ea8 (diff)
downloadgcc-c02ebb18348ef5ef1f334bfc9ece21e390f658a0.zip
gcc-c02ebb18348ef5ef1f334bfc9ece21e390f658a0.tar.gz
gcc-c02ebb18348ef5ef1f334bfc9ece21e390f658a0.tar.bz2
java-tree.h, [...]: Remove all #if JAVA_USE_HANDLES blocks...
* java-tree.h, class.c, expr.c, jcf-parse.c, parse.y, typeck.c, verify.c: Remove all #if JAVA_USE_HANDLES blocks, all mention of CLASS_TO_HANDLE_TYPE or HANDLE_TO_CLASS_TYPE, and all now-pointless local variables. Rename other local variables to reflect their not being handles. * java-tree.h, jcf-dump.c, jcf-io.c: Remove all #if JCF_USE_STDIO blocks. * parse.y: Add missing semicolon at end of rule. From-SVN: r54261
Diffstat (limited to 'gcc/java/jcf-parse.c')
-rw-r--r--gcc/java/jcf-parse.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index af9022b..3b1f5d6 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -193,9 +193,7 @@ set_source_filename (jcf, index)
DECL_LINENUMBERS_OFFSET (current_method) = 0)
#define HANDLE_END_METHODS() \
-{ tree handle_type = CLASS_TO_HANDLE_TYPE (current_class); \
- if (handle_type != current_class) layout_type (handle_type); \
- current_method = NULL_TREE; }
+{ current_method = NULL_TREE; }
#define HANDLE_CODE_ATTRIBUTE(MAX_STACK, MAX_LOCALS, CODE_LENGTH) \
{ DECL_MAX_STACK (current_method) = (MAX_STACK); \
@@ -745,12 +743,12 @@ parse_class_file ()
compiling from class files. */
always_initialize_class_p = 1;
- for (field = TYPE_FIELDS (CLASS_TO_HANDLE_TYPE (current_class));
+ for (field = TYPE_FIELDS (current_class);
field != NULL_TREE; field = TREE_CHAIN (field))
if (FIELD_STATIC (field))
DECL_EXTERNAL (field) = 0;
- for (method = TYPE_METHODS (CLASS_TO_HANDLE_TYPE (current_class));
+ for (method = TYPE_METHODS (current_class);
method != NULL_TREE; method = TREE_CHAIN (method))
{
JCF *jcf = current_jcf;