Skip to content

Commit d50c5d1

Browse files
committed
Re-add/update comments
1 parent f013aa1 commit d50c5d1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ext/opcache/jit/zend_jit_ir.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4101,6 +4101,7 @@ static void zend_jit_recv_entry(zend_jit_ctx *jit, int b)
41014101
/* Insert a MERGE block with additional ENTRY input between predecessor and this one */
41024102
ir_ENTRY(ref, bb->start);
41034103
if (!GCC_GLOBAL_REGS) {
4104+
/* 2 and 3 are hardcoded reference to IR_PARAMs */
41044105
ZEND_ASSERT(jit->ctx.ir_base[2].op == IR_PARAM);
41054106
ZEND_ASSERT(jit->ctx.ir_base[2].op3 == 1);
41064107
jit_STORE_FP(jit, 2);
@@ -4121,7 +4122,7 @@ static void zend_jit_osr_entry(zend_jit_ctx *jit, int b)
41214122
/* Insert a MERGE block with additional ENTRY input between predecessor and this one */
41224123
ir_ENTRY(ref, bb->start);
41234124
if (!GCC_GLOBAL_REGS) {
4124-
/* 2 is hardcoded reference to IR_PARAM */
4125+
/* 2 and 3 are hardcoded reference to IR_PARAMs */
41254126
ZEND_ASSERT(jit->ctx.ir_base[2].op == IR_PARAM);
41264127
ZEND_ASSERT(jit->ctx.ir_base[2].op3 == 1);
41274128
jit_STORE_FP(jit, 2);
@@ -4137,7 +4138,7 @@ static ir_ref zend_jit_continue_entry(zend_jit_ctx *jit, ir_ref src, unsigned in
41374138
{
41384139
ir_ENTRY(src, label);
41394140
if (!GCC_GLOBAL_REGS) {
4140-
/* 2 is hardcoded reference to IR_PARAM */
4141+
/* 2 and 3 are hardcoded reference to IR_PARAMs */
41414142
ZEND_ASSERT(jit->ctx.ir_base[2].op == IR_PARAM);
41424143
ZEND_ASSERT(jit->ctx.ir_base[2].op3 == 1);
41434144
jit_STORE_FP(jit, 2);

0 commit comments

Comments
 (0)