summaryrefslogtreecommitdiff
path: root/ext/opcache
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-03-06 16:34:15 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-03-06 16:36:45 +0100
commit941a3b6ccdae528b633576fdffdda99b0eb48876 (patch)
treed9dd5dbaf276e4fa13f4ce1c6c514114982cb925 /ext/opcache
parent9c6e206bce57d84ffe13181033ec6c7be1779ad0 (diff)
downloadphp-git-941a3b6ccdae528b633576fdffdda99b0eb48876.tar.gz
Remove unnecessary uses of CHECK_SILENT
If no error is passed, it is always silent.
Diffstat (limited to 'ext/opcache')
-rw-r--r--ext/opcache/jit/zend_jit_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/jit/zend_jit_helpers.c b/ext/opcache/jit/zend_jit_helpers.c
index 7fd91c7317..40d10e4255 100644
--- a/ext/opcache/jit/zend_jit_helpers.c
+++ b/ext/opcache/jit/zend_jit_helpers.c
@@ -1184,7 +1184,7 @@ static zend_always_inline zend_bool zend_jit_verify_type_common(zval *arg, const
builtin_types:
type_mask = ZEND_TYPE_FULL_MASK(arg_info->type);
- if ((type_mask & MAY_BE_CALLABLE) && zend_is_callable(arg, IS_CALLABLE_CHECK_SILENT, NULL)) {
+ if ((type_mask & MAY_BE_CALLABLE) && zend_is_callable(arg, 0, NULL)) {
return 1;
}
if ((type_mask & MAY_BE_ITERABLE) && zend_is_iterable(arg)) {