diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1998-11-25 09:10:57 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1998-11-25 09:10:57 -0800 |
commit | de4c7b029c4a5732a4c688bfeba7b58feee18acd (patch) | |
tree | 0b2fe1790380d64ead03f86029625240ca00fbb8 /gcc/java/lang.c | |
parent | 0bd2e6dbbf09e94c5c1d0575b2183acea257a518 (diff) | |
download | gcc-de4c7b029c4a5732a4c688bfeba7b58feee18acd.zip gcc-de4c7b029c4a5732a4c688bfeba7b58feee18acd.tar.gz gcc-de4c7b029c4a5732a4c688bfeba7b58feee18acd.tar.bz2 |
java-tree.h (end_params_node): Declare global.
* java-tree.h (end_params_node): Declare global.
* decl.c (end_params_node): New global.
(init_decl_processing, start_java_method): Use end_params_node for
end of list of parameter types. Follows correct gcc conventions.
* expr.c (pop_argument_types, pop_arguments): Likewise.
* lang.c (put_decl_node): Likewise.
* typeck.c (various places): Likewise.
* class.y (various places): Likewise.
* parse.y (various places): Likewise.
* parse.y (java_complete_tree): Move CAN_COMPLETE_NORMALLY.
(build_jump_to_finally): Add missing CAN_COMPLETE_NORMALLY.
* class.c: Add #include flags.h, remove no-longer needed declaration.
* class.c (layout_class_method): Remove commented-out code, re-format.
Don't add vtable entry (or index) for private methods.
* expr.c (expand_invoke): A private method is implicitly final.
* class.c (make_class_data): If inlining or optimizing,
skip private methods.
* class.c (finish_class): New function. Calls existing methods,
but alls emits deferred inline functions.
* jcf-parse.c (parse_class_file): Call finish_class.
* parse.y (java_complete_expand_methods): Likewise.
* expr.c (build_java_binop): Explicit default, to silence -Wall.
From-SVN: r23871
Diffstat (limited to 'gcc/java/lang.c')
-rw-r--r-- | gcc/java/lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/lang.c b/gcc/java/lang.c index 4e646d2..50a1b67 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -371,7 +371,7 @@ put_decl_node (node) if (TREE_CODE (TREE_TYPE (node)) == METHOD_TYPE) args = TREE_CHAIN (args); put_decl_string ("(", 1); - for ( ; args != NULL_TREE; args = TREE_CHAIN (args), i++) + for ( ; args != end_params_node; args = TREE_CHAIN (args), i++) { if (i > 0) put_decl_string (",", 1); |