Skip to content

Commit

Permalink
Fix call to type error functions from jit
Browse files Browse the repository at this point in the history
Missed to adjust those calls.
  • Loading branch information
nikic committed Aug 28, 2020
1 parent 8636401 commit a1a4c03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/opcache/jit/zend_jit_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,7 @@ static zend_bool ZEND_FASTCALL zend_jit_verify_arg_slow(zval *arg, zend_arg_info

ret = zend_jit_verify_type_common(arg, arg_info, cache_slot);
if (UNEXPECTED(!ret)) {
zend_verify_arg_error(EX(func), arg_info, opline->op1.num, cache_slot, arg);
zend_verify_arg_error(EX(func), arg_info, opline->op1.num, arg);
return 0;
}
return ret;
Expand All @@ -1311,7 +1311,7 @@ static zend_bool ZEND_FASTCALL zend_jit_verify_arg_slow(zval *arg, zend_arg_info
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)
{
if (UNEXPECTED(!zend_jit_verify_type_common(arg, arg_info, cache_slot))) {
zend_verify_return_error((zend_function*)op_array, cache_slot, arg);
zend_verify_return_error((zend_function*)op_array, arg);
}
}

Expand Down

0 comments on commit a1a4c03

Please sign in to comment.