tree.c (search_tree): Handle TRUTH_{AND,OR,XOR}_EXPR too.

* tree.c (search_tree): Handle TRUTH_{AND,OR,XOR}_EXPR too.
        (mapcar): Likewise.

From-SVN: r28754
This commit is contained in:
Richard Henderson 1999-08-18 13:05:08 -07:00 committed by Richard Henderson
parent 5a0eb8326f
commit 88049523ae
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1999-08-18 Richard Henderson <rth@cygnus.com>
* tree.c (search_tree): Handle TRUTH_{AND,OR,XOR}_EXPR too.
(mapcar): Likewise.
1999-08-17 Mark Mitchell <mark@codesourcery.com>
* cp-tree.h (back_end_hook): New variable.

View File

@ -1640,6 +1640,9 @@ search_tree (t, func)
TRY (TREE_OPERAND (t, 2));
break;
case TRUTH_AND_EXPR:
case TRUTH_OR_EXPR:
case TRUTH_XOR_EXPR:
case TRUTH_ANDIF_EXPR:
case TRUTH_ORIF_EXPR:
case PREDECREMENT_EXPR:
@ -1899,6 +1902,9 @@ mapcar (t, func)
TREE_OPERAND (t, 2) = mapcar (TREE_OPERAND (t, 2), func);
return t;
case TRUTH_AND_EXPR:
case TRUTH_OR_EXPR:
case TRUTH_XOR_EXPR:
case TRUTH_ANDIF_EXPR:
case TRUTH_ORIF_EXPR:
case PREDECREMENT_EXPR: