Skip to content

Commit 3a0e097

Browse files
committed
Loop-end with +
Signed-off-by: Bob Weinand <bobwei9@hotmail.com>
1 parent aad6cc5 commit 3a0e097

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Zend/Optimizer/zend_dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ static void zend_dump_unused_op(const zend_op *opline, znode_op op, uint32_t fla
124124
}
125125
} else if (ZEND_VM_OP_LOOP_END == (flags & ZEND_VM_OP_MASK)) {
126126
if (opline->extended_value & ZEND_FREE_ON_RETURN) {
127-
fprintf(stderr, " loop-end(%u)", op.num);
127+
fprintf(stderr, " loop-end(+%u)", op.num);
128128
}
129129
} else if (ZEND_VM_OP_THIS == (flags & ZEND_VM_OP_MASK)) {
130130
fprintf(stderr, " THIS");

ext/opcache/tests/opt/gh11245_2.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ $_main:
2828
0000 T1 = PRE_INC_STATIC_PROP string("prop") string("X")
2929
0001 T2 = ISSET_ISEMPTY_CV (empty) CV0($xx)
3030
0002 JMPZ T2 0005
31-
0003 FREE T1 loop-end(2)
31+
0003 FREE T1 loop-end(+2)
3232
0004 RETURN null
3333
0005 FREE T1
3434
0006 RETURN int(1)

0 commit comments

Comments
 (0)