aboutsummaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2004-05-14 02:33:00 +0000
committerZack Weinberg <zack@gcc.gnu.org>2004-05-14 02:33:00 +0000
commit90afe2c9f5c7a47b53fe31da0b06a6f8dda37cce (patch)
tree1d87ff9be659423d0f5eae77a93d234f7f649aa0 /gcc/calls.c
parenteadf906f463167f90f23bed5d3bb56026a4bfc33 (diff)
downloadgcc-90afe2c9f5c7a47b53fe31da0b06a6f8dda37cce.zip
gcc-90afe2c9f5c7a47b53fe31da0b06a6f8dda37cce.tar.gz
gcc-90afe2c9f5c7a47b53fe31da0b06a6f8dda37cce.tar.bz2
tree.def (documentation): Remove mention of class 'b'.
* tree.def (documentation): Remove mention of class 'b'. (BLOCK): Now in class 'x'. * c-common.c (verify_tree): Remove case 'b'. * c-typeck.c (same_translation_unit_p): Change 'b' to 'x'. * calls.c (calls_function_1): Control cannot get past the switch when exp is a BLOCK. * print-tree.c (print_node): Move code for class 'b' to the class 'c'/'x' switch, as case BLOCK. * tree.c (tree_size, make_node_stat, tree_node_structure): Likewise. (unsafe_for_reeval, substitute_placeholder_in_expr) (stabilize_reference_1): Remove case 'b'. * tree-browser.c (browse_tree): Change all tests for TREE_CODE_CLASS of something being 'b' to tests for TREE_CODE of something being BLOCK. * tree-ssa-operands.c (get_expr_operands): Likewise. ada: * trans.c (gnat_stabilize_reference_1): Remove case 'b'. From-SVN: r81831
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index e15a96b..35021ea 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -259,8 +259,9 @@ calls_function_1 (tree exp, int which)
break;
}
- /* Only expressions and blocks can contain calls. */
- if (! IS_EXPR_CODE_CLASS (class) && class != 'b')
+ /* Only expressions and blocks can contain calls.
+ Blocks were handled above. */
+ if (! IS_EXPR_CODE_CLASS (class))
return 0;
for (i = 0; i < length; i++)