aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/expr.c
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@waitaki.otago.ac.nz>2002-02-28 23:27:09 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2002-02-28 23:27:09 +0000
commit2060fd4ca6372a2b6c4c9c3dd0db38a408a13a6a (patch)
tree2f21fda1a6934d26761dc304860d577408971de6 /gcc/java/expr.c
parente0054185519c8e33f3ece3c3e1b42f677fbe5c13 (diff)
downloadgcc-2060fd4ca6372a2b6c4c9c3dd0db38a408a13a6a.zip
gcc-2060fd4ca6372a2b6c4c9c3dd0db38a408a13a6a.tar.gz
gcc-2060fd4ca6372a2b6c4c9c3dd0db38a408a13a6a.tar.bz2
* expr.c (build_java_arraystore_check): Fix formatting.
From-SVN: r50167
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r--gcc/java/expr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index 80b2910..ecfabe5 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 */