diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-10-05 23:40:00 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-10-05 23:40:00 +0000 |
commit | cd6642cbec99620da64cf401b05ba74e37de02e0 (patch) | |
tree | d2fdf1e2e539c037b8793795dbb49e8f9514ce04 /gcc | |
parent | 85f88abf55f4d7713dea14cce407278c58d82262 (diff) | |
download | gcc-cd6642cbec99620da64cf401b05ba74e37de02e0.zip gcc-cd6642cbec99620da64cf401b05ba74e37de02e0.tar.gz gcc-cd6642cbec99620da64cf401b05ba74e37de02e0.tar.bz2 |
* ir.texi: Document LOOP_EXPR and EXIT_EXPR.
From-SVN: r29834
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/cp/ir.texi | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6caaf0a..4eccf5e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,7 @@ 1999-10-05 Mark Mitchell <mark@codesourcery.com> + * ir.texi: Document LOOP_EXPR and EXIT_EXPR. + * method.c (synthesize_method): Call setup_vtbl_ptr for destructors. * decl.c (start_function): Set current_in_charge_parm for diff --git a/gcc/cp/ir.texi b/gcc/cp/ir.texi index 6e1623e..bad2aca 100644 --- a/gcc/cp/ir.texi +++ b/gcc/cp/ir.texi @@ -1466,6 +1466,8 @@ The @code{WHILE_BODY} is the body of the loop. @tindex CALL_EXPR @tindex CONSTRUCTOR @tindex STMT_EXPR +@tindex LOOP_EXPR +@tindex EXIT_EXPR @tindex ARRAY_REF The internal representation for expressions is for the most part quite @@ -1817,6 +1819,17 @@ contained in the expression; this is always a @code{COMPOUND_STMT}. The value of the expression is the value of the last sub-statement in the @code{COMPOUND_STMT}. +@item LOOP_EXPR +These nodes represent ``infinite'' loops. The @code{LOOP_EXPR_BODY} +represents the body of the loop. It should be executed forever, unless +an @code{EXIT_EXPR} is encountered. + +@item EXIT_EXPR +These nodes represent conditional exits from the nearest enclosing +@code{LOOP_EXPR}. The single operand is the condition; if it is +non-zero, then the loop should be exited. An @code{EXIT_EXPR} will only +appear within a @code{LOOP_EXPR}. + @item CONSTRUCTOR These nodes represent the brace-enclosed initializers for a structure or array. The first operand is reserved for use by the back-end. The |