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.def7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/java/java-tree.def b/gcc/java/java-tree.def
index 5bd63c4..b367066 100644
--- a/gcc/java/java-tree.def
+++ b/gcc/java/java-tree.def
@@ -70,3 +70,10 @@ DEFTREECODE (THROW_EXPR, "throw", '1', 1)
Operand 1 is the then-value
Operand 2 is the else-value. */
DEFTREECODE (CONDITIONAL_EXPR, "?:", 'e', 3)
+
+/* instanceof operator.
+ Operand 0 is the expression that is getting tested
+ Operand 1 is the class used for the test. */
+DEFTREECODE (INSTANCEOF_EXPR, "instanceof", 'e', 2)
+
+