summaryrefslogtreecommitdiffstats
path: root/gcc/tree.def
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1998-09-22 17:48:10 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1998-09-22 17:48:10 +0000
commit18836fe9199fa6a5caf68f85e2ce37185c10a5bf (patch)
treed092be788ea957732fcbe420002a615db79eeb84 /gcc/tree.def
parentd5ab2fb1695f16b2979732f967724df65cd250b2 (diff)
downloadppe42-gcc-18836fe9199fa6a5caf68f85e2ce37185c10a5bf.tar.gz
ppe42-gcc-18836fe9199fa6a5caf68f85e2ce37185c10a5bf.zip
* tree.def (SWITCH_EXPR): New tree node definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22552 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.def')
-rw-r--r--gcc/tree.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/tree.def b/gcc/tree.def
index 86b60fa12a8..16a07d80c37 100644
--- a/gcc/tree.def
+++ b/gcc/tree.def
@@ -757,6 +757,12 @@ DEFTREECODE (EXIT_BLOCK_EXPR, "exit_block_expr", 'e', 2)
expanded as the contained node (EXPR_WFL_NODE); a line note should
be emitted first if EXPR_WFL_EMIT_LINE_NOTE. */
DEFTREECODE (EXPR_WITH_FILE_LOCATION, "expr_with_file_location", 'e', 2)
+
+/* Switch expression.
+ Operand 0 is the expression used to perform the branch,
+ Operand 1 contains the case values. The way they're organized is
+ front-end implementation defined. */
+DEFTREECODE (SWITCH_EXPR, "switch_expr", 'e', 2)
/*
Local variables:
mode:c
OpenPOWER on IntegriCloud