pike.git
/
src
/
operators.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/operators.c:1974:
} return 0; } static node *may_have_side_effects(node *n) { node **arg; int argno; for (argno = 0; (arg = my_get_arg(&_CDR(n), argno)); argno++) {
-
if (match_types(object_type_string, (*arg)->type)) {
+
if (
((*arg)->type != zero_type_string) &&
+
match_types(object_type_string, (*arg)->type)) {
n->node_info |= OPT_SIDE_EFFECT; n->tree_info |= OPT_SIDE_EFFECT; return NULL; } } return NULL; } static node *optimize_binary(node *n) {