Skip to content

Commit 6c0d0c8

Browse files
committed
Add COPY_TMP to op1 preserving opcode list
1 parent fbb9879 commit 6c0d0c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Zend/zend_opcode.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,8 @@ static zend_bool keeps_op1_alive(zend_op *opline) {
693693
|| opline->opcode == ZEND_FETCH_LIST_W
694694
|| opline->opcode == ZEND_VERIFY_RETURN_TYPE
695695
|| opline->opcode == ZEND_BIND_LEXICAL
696-
|| opline->opcode == ZEND_ROPE_ADD;
696+
|| opline->opcode == ZEND_ROPE_ADD
697+
|| opline->opcode == ZEND_COPY_TMP;
697698
}
698699

699700
/* Live ranges must be sorted by increasing start opline */

0 commit comments

Comments
 (0)