X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fjava%2Fjava-tree.def;h=e565499b1932466f66e175c86a6113a2e47cadbd;hb=bd3e816a36d72e7254f6e2c8be5ff157184f781e;hp=2134c5b70af972c5dedd51836922ead0fae59c97;hpb=1863706c76bee64a1c99bc8c6494701950446af7;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/java/java-tree.def b/gcc/java/java-tree.def index 2134c5b70af..e565499b193 100644 --- a/gcc/java/java-tree.def +++ b/gcc/java/java-tree.def @@ -1,83 +1,38 @@ -/* Shift right, logical. */ - -DEFTREECODE (URSHIFT_EXPR, "urshift_expr", '2', 2) - -/* Return -1, 0, 1 depending on whether the first argument is - less, equal, or greater to the second argument. */ -DEFTREECODE (COMPARE_EXPR, "compare_expr", '2', 2) - -/* Same as COMPARE_EXPR, but if either value is NaN, the result is -1. */ -DEFTREECODE (COMPARE_L_EXPR, "compare_l_expr", '2', 2) -/* Same as COMPARE_EXPR, but if either value is NaN, the result is 1. */ -DEFTREECODE (COMPARE_G_EXPR, "compare_g_expr", '2', 2) - -/* Unary plus. Operand 0 is the expression the unary plus is applied - to */ -DEFTREECODE (UNARY_PLUS_EXPR, "unary_plus_expr", '1', 1) +/* This file contains the definitions and documentation for the + extra tree codes used by gcj. + Copyright (C) 1996, 2007 Free Software Foundation, Inc. -/* New array creation expression. - Operand 0 is the array base type. - Operand 1 is the list of dimension expressions. - Operand 2 is the number of other dimensions of unspecified range. - Once patched, the node will bear the type of the created array. */ -DEFTREECODE (NEW_ARRAY_EXPR, "new_array_expr", 'e', 3) +This file is part of GCC. -/* New class creation expression. - Operand 0 is the name of the class to be created - Operand 1 is the argument list used to select a constructor. - There is no operand 2. That slot is used for the - CALL_EXPR_RTL macro (see preexpand_calls). - The type should be the one of the created class. */ -DEFTREECODE (NEW_CLASS_EXPR, "new_class_expr", 'e', 3) +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. -/* Defines `this' as an expression. */ -DEFTREECODE (THIS_EXPR, "this", '1', 0) +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. -/* Case statement expression. - Operand 1 is the case value. */ -DEFTREECODE (CASE_EXPR, "case", 'x', 1) +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +. */ -/* Default statement expression. */ -DEFTREECODE (DEFAULT_EXPR, "default", 'x', 0) -/* Try expression - Operand 0 is the tried block, - Operand 1 contains chained catch nodes - Operand 2 contains the finally clause. */ -DEFTREECODE (TRY_EXPR, "try-catch-finally", 'e', 3) - -/* Catch clause. - Operand 0 is the catch clause block, which contains the declaration of - the catch clause parameter. */ -DEFTREECODE (CATCH_EXPR, "catch", '1', 1) - -/* Finally clause. - Operand 0 is the finally label. - Operand 1 is the finally block. */ -DEFTREECODE (FINALLY_EXPR, "finally", 'e', 2) - -/* Synchronized statement. - Operand 0 is the expression on which we whish to synchronize, - Operand 1 is the synchronized expression block. */ -DEFTREECODE (SYNCHRONIZED_EXPR, "synchronized", 'e', 2) - -/* Throw statement. - Operand 0 is the throw expresion. */ -DEFTREECODE (THROW_EXPR, "throw", '1', 1) +/* Shift right, logical. */ +DEFTREECODE (URSHIFT_EXPR, "urshift_expr", tcc_binary, 2) -/* Conditional operator. - Operand 0 is the condition expression - Operand 1 is the then-value - Operand 2 is the else-value. */ -DEFTREECODE (CONDITIONAL_EXPR, "?:", 'e', 3) +/* Return -1, 0, 1 depending on whether the first argument is + less, equal, or greater to the second argument. */ +DEFTREECODE (COMPARE_EXPR, "compare_expr", tcc_binary, 2) -/* 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) +/* Same as COMPARE_EXPR, but if either value is NaN, the result is -1. */ +DEFTREECODE (COMPARE_L_EXPR, "compare_l_expr", tcc_binary, 2) +/* Same as COMPARE_EXPR, but if either value is NaN, the result is 1. */ +DEFTREECODE (COMPARE_G_EXPR, "compare_g_expr", tcc_binary, 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) +/* +Local variables: +mode:c +End: +*/