minor improvement to volatile code

This commit is contained in:
ceriel 1991-06-21 10:31:20 +00:00
parent aec33f4d0f
commit 1be579a6e7

View file

@ -639,7 +639,7 @@ EVAL(expr, val, code, true_label, false_label)
default:
crash("(EVAL) bad expression class");
}
if (expr->ex_flags & EX_VOLATILE || vol) C_nop();
if (val == RVAL && ((expr->ex_flags & EX_VOLATILE) || vol)) C_nop();
}
/* compare() serves as an auxiliary function of EVAL */