aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/class.c
diff options
context:
space:
mode:
authorAlexandre Petit-Bianco <apbianco@cygnus.com>2000-08-11 22:01:37 +0000
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>2000-08-11 15:01:37 -0700
commit34d4df06209d23ef5c2b1a72591270faa6a0fe5e (patch)
treec88a7c7ce85707c22a2566ab9425e0d0382392f1 /gcc/java/class.c
parent82fbe83592e43e88f8e355fc507e16eb1c761f74 (diff)
downloadgcc-34d4df06209d23ef5c2b1a72591270faa6a0fe5e.zip
gcc-34d4df06209d23ef5c2b1a72591270faa6a0fe5e.tar.gz
gcc-34d4df06209d23ef5c2b1a72591270faa6a0fe5e.tar.bz2
class.c (maybe_layout_super_class): Fixed indentation.
2000-08-10 Alexandre Petit-Bianco <apbianco@cygnus.com> * class.c (maybe_layout_super_class): Fixed indentation. * java-tree.h (CLASS_METHOD_CHECKED_P): New macro. (java_check_methods): New function declaration. * jcf-parse.c (get_constant): Let `char_len' go up to 3. Use `str' instead of `str_ptr'. * jcf-write.c (generate_bytecode_insns): Emit number the of args of a `invokeinterface' at the right time. * parse.h (WFL_STRIP_BRACKET): New macro. (SET_TYPE_FOR_RESOLUTION): Use it. * parse.y (build_unresolved_array_type): Reuse `type_or_wfl.' (check_class_interface_creation): Don't check for cross package innerclass name clashes. (method_header): Behave properly if MDECL is `error_mark_node.' (method_declarator): Return `error_mark_node' if bogus current class. (resolve_class): Apply WFL_STRIP_BRACKET on `cl' if necessary. (resolve_and_layout): New local `decl_type', set and used. Call java_check_methods. (java_check_methods): New method. (java_layout_classes): Use it. (resolve_qualified_expression_name): No EH check necessary in access$<n>. (java_complete_lhs): Use VAR_DECL's DECL_INITIAL when evaluating `case' statement. (patch_assignment): Set DECL_INITIAL on integral final local. (http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00516.html) From-SVN: r35644
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r--gcc/java/class.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c
index 7cd6e66..625d820 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -1748,8 +1748,7 @@ maybe_layout_super_class (super_class, this_class)
{
if (TREE_CODE (super_class) == RECORD_TYPE)
{
- if (!CLASS_LOADED_P (super_class)
- && CLASS_FROM_SOURCE_P (super_class))
+ if (!CLASS_LOADED_P (super_class) && CLASS_FROM_SOURCE_P (super_class))
safe_layout_class (super_class);
if (!CLASS_LOADED_P (super_class))
load_class (super_class, 1);