Skip to content

Commit 9387145

Browse files
committed
split case
1 parent f3443a4 commit 9387145

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Zend/Optimizer/compact_literals.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,9 @@ void zend_optimizer_compact_literals(zend_op_array *op_array, zend_optimizer_ctx
777777
break;
778778
case ZEND_DECLARE_ANON_CLASS:
779779
case ZEND_DECLARE_CLASS_DELAYED:
780+
opline->extended_value = cache_size;
781+
cache_size += sizeof(void *);
782+
break;
780783
case ZEND_JMP_FRAMELESS:
781784
// op1 func
782785
if (jmp_slot[opline->op1.constant] >= 0) {

0 commit comments

Comments
 (0)