Skip to content

Commit a1a4c03

Browse files
committed
Fix call to type error functions from jit
Missed to adjust those calls.
1 parent 8636401 commit a1a4c03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/opcache/jit/zend_jit_helpers.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,7 @@ static zend_bool ZEND_FASTCALL zend_jit_verify_arg_slow(zval *arg, zend_arg_info
13021302

13031303
ret = zend_jit_verify_type_common(arg, arg_info, cache_slot);
13041304
if (UNEXPECTED(!ret)) {
1305-
zend_verify_arg_error(EX(func), arg_info, opline->op1.num, cache_slot, arg);
1305+
zend_verify_arg_error(EX(func), arg_info, opline->op1.num, arg);
13061306
return 0;
13071307
}
13081308
return ret;
@@ -1311,7 +1311,7 @@ static zend_bool ZEND_FASTCALL zend_jit_verify_arg_slow(zval *arg, zend_arg_info
13111311
static void ZEND_FASTCALL zend_jit_verify_return_slow(zval *arg, const zend_op_array *op_array, zend_arg_info *arg_info, void **cache_slot)
13121312
{
13131313
if (UNEXPECTED(!zend_jit_verify_type_common(arg, arg_info, cache_slot))) {
1314-
zend_verify_return_error((zend_function*)op_array, cache_slot, arg);
1314+
zend_verify_return_error((zend_function*)op_array, arg);
13151315
}
13161316
}
13171317

0 commit comments

Comments
 (0)