]> granicus.if.org Git - php/commitdiff
Pass correct op_info to zend_jit_fetch_dim()
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 9 Sep 2020 07:29:18 +0000 (09:29 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 9 Sep 2020 07:29:28 +0000 (09:29 +0200)
ext/opcache/jit/zend_jit.c

index 5243907365cf22aec42efa46cffec611e743410d..d514428840aa792369aae75c15c5a99c7ab652cb 100644 (file)
@@ -2865,7 +2865,8 @@ static int zend_jit(const zend_op_array *op_array, zend_ssa *ssa, const zend_op
                                                }
                                                if (!zend_jit_fetch_dim(&dasm_state, opline,
                                                                OP1_INFO(), OP1_REG_ADDR(), OP2_INFO(), RES_REG_ADDR(),
-                                                               zend_may_throw_ex(opline, ssa_op, op_array, ssa, op1_info, op2_info))) {
+                                                               zend_may_throw_ex(opline, ssa_op, op_array, ssa, OP1_INFO(),
+                                                               OP2_INFO()))) {
                                                        goto jit_failure;
                                                }
                                                goto done;