aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/java-tree.def
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/java-tree.def')
-rw-r--r--gcc/java/java-tree.def6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/java/java-tree.def b/gcc/java/java-tree.def
index ed30c7be..2134c5b 100644
--- a/gcc/java/java-tree.def
+++ b/gcc/java/java-tree.def
@@ -76,4 +76,8 @@ DEFTREECODE (CONDITIONAL_EXPR, "?:", 'e', 3)
Operand 1 is the class used for the test. */
DEFTREECODE (INSTANCEOF_EXPR, "instanceof", 'e', 2)
-
+/* Array initializers.
+ Operand 0 is the (sub) array target to initialize, left to NULL_TREE
+ when the node is created.
+ Operand 1 is a CONSTRUCTOR node. */
+DEFTREECODE (NEW_ARRAY_INIT, "new_array_init", '1', 1)