From 2f73cbb1b10f197674f4adb15f39a1d2d1aa4824 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 18 Mar 2021 16:25:06 +0100 Subject: [PATCH] Update one more use of NO_AUTOLOAD --- ext/opcache/jit/zend_jit_helpers.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/opcache/jit/zend_jit_helpers.c b/ext/opcache/jit/zend_jit_helpers.c index d46ddcd920..8f434090b8 100644 --- a/ext/opcache/jit/zend_jit_helpers.c +++ b/ext/opcache/jit/zend_jit_helpers.c @@ -1389,7 +1389,7 @@ static zend_always_inline bool zend_jit_verify_type_common(zval *arg, zend_arg_i *cache_slot = ce; } else { ce = zend_fetch_class(ZEND_TYPE_NAME(*list_type), - (ZEND_FETCH_CLASS_AUTO | ZEND_FETCH_CLASS_NO_AUTOLOAD)); + ZEND_FETCH_CLASS_AUTO | ZEND_FETCH_CLASS_NO_AUTOLOAD | ZEND_FETCH_CLASS_SILENT); if (!ce) { cache_slot++; continue; @@ -1411,7 +1411,8 @@ static zend_always_inline bool zend_jit_verify_type_common(zval *arg, zend_arg_i ce = ZEND_TYPE_CE_CACHE(arg_info->type); *cache_slot = ce; } else { - ce = zend_fetch_class(ZEND_TYPE_NAME(arg_info->type), (ZEND_FETCH_CLASS_AUTO | ZEND_FETCH_CLASS_NO_AUTOLOAD)); + ce = zend_fetch_class(ZEND_TYPE_NAME(arg_info->type), + ZEND_FETCH_CLASS_AUTO | ZEND_FETCH_CLASS_NO_AUTOLOAD | ZEND_FETCH_CLASS_SILENT); if (UNEXPECTED(!ce)) { goto builtin_types; } -- 2.50.1