summaryrefslogtreecommitdiff
path: root/gcc/java/expr.c
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-30 00:37:21 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-30 00:37:21 +0000
commit76c60ef317bd44579f63b12d437ba163b7b04541 (patch)
tree6d70f7a14446d1a876b37981e40f7379b1587391 /gcc/java/expr.c
parentf5b195513da98d9dc8872c7d982dc7cc0834a93d (diff)
downloadgcc-76c60ef317bd44579f63b12d437ba163b7b04541.tar.gz
* java-tree.h: Remove JTI_INTEGER_NEGATIVE_ONE_NODE.
* decl.c (init_decl_processing): Use integer_minus_one_node, not integer_negative_one_node. * expr.c (build_java_binop): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39337 138bc75d-0d04-0410-961f-82ee72b054a4
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 beb3137e24d..16653ec0fd5 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -1299,11 +1299,11 @@ build_java_binop (op, type, arg1, arg2)
tree second_compare = fold (build (COND_EXPR, int_type_node,
ifexp2, integer_zero_node,
op == COMPARE_L_EXPR
- ? integer_negative_one_node
+ ? integer_minus_one_node
: integer_one_node));
return fold (build (COND_EXPR, int_type_node, ifexp1,
op == COMPARE_L_EXPR ? integer_one_node
- : integer_negative_one_node,
+ : integer_minus_one_node,
second_compare));
}
case COMPARE_EXPR:
@@ -1315,7 +1315,7 @@ build_java_binop (op, type, arg1, arg2)
ifexp2, integer_one_node,
integer_zero_node));
return fold (build (COND_EXPR, int_type_node,
- ifexp1, integer_negative_one_node, second_compare));
+ ifexp1, integer_minus_one_node, second_compare));
}
case TRUNC_DIV_EXPR:
case TRUNC_MOD_EXPR: