summaryrefslogtreecommitdiff
path: root/ext/opcache/Optimizer/nop_removal.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opcache/Optimizer/nop_removal.c')
-rw-r--r--ext/opcache/Optimizer/nop_removal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/Optimizer/nop_removal.c b/ext/opcache/Optimizer/nop_removal.c
index 80da02ce32..5f54408d16 100644
--- a/ext/opcache/Optimizer/nop_removal.c
+++ b/ext/opcache/Optimizer/nop_removal.c
@@ -38,7 +38,7 @@ static void nop_removal(zend_op_array *op_array)
/* GOTO target is unresolved yet. We can't optimize. */
if (opline->opcode == ZEND_GOTO &&
- Z_TYPE(ZEND_OP2_LITERAL(opline)) != IS_LONG) {
+ Z_TYPE(ZEND_OP2_LITERAL(opline)) != IS_INT) {
/* TODO: in general we can avoid this restriction */
FREE_ALLOCA(shiftlist);
return;