From 2060fd4ca6372a2b6c4c9c3dd0db38a408a13a6a Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Thu, 28 Feb 2002 23:27:09 +0000 Subject: [PATCH] * expr.c (build_java_arraystore_check): Fix formatting. From-SVN: r50167 --- gcc/java/ChangeLog | 4 ++++ gcc/java/expr.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 2250b1d8ee7..9c0219bda56 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2002-03-01 Bryce McKinlay + + * expr.c (build_java_arraystore_check): Fix formatting. + 2002-02-28 Bryce McKinlay * expr.c (java_array_data_offset): Removed function. diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 80b29108725..ecfabe5339a 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -823,7 +823,7 @@ build_java_arraystore_check (array, object) abort (); if (!flag_store_check) - return build1 (NOP_EXPR, array_type_p, array); + return build1 (NOP_EXPR, array_type_p, array); /* No check is needed if the element type is final or is itself an array. Also check that element_type matches object_type, since in the bytecode @@ -831,7 +831,7 @@ build_java_arraystore_check (array, object) rather than its declared type. */ if (element_type == object_type && (TYPE_ARRAY_P (TREE_TYPE (element_type)) - || CLASS_FINAL (element_type))) + || CLASS_FINAL (element_type))) return build1 (NOP_EXPR, array_type_p, array); /* Avoid the check if OBJECT was just loaded from the same array. */ @@ -849,7 +849,7 @@ build_java_arraystore_check (array, object) target = TREE_OPERAND (target, 0); if (source == target) - return build1 (NOP_EXPR, array_type_p, array); + return build1 (NOP_EXPR, array_type_p, array); } /* Build an invocation of _Jv_CheckArrayStore */