com php-src: Improved branch prediction and code locality: Zend/zend_variables.c

From: Date: Wed, 13 Dec 2017 23:22:07 +0000
Subject: com php-src: Improved branch prediction and code locality: Zend/zend_variables.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-100573@lists.php.net to get a copy of this message
Commit: dd1050fa6cab48f0d26db32cf0a4007b40010311 Author: Dmitry Stogov <dmitry@zend.com> Thu, 14 Dec 2017 02:22:07 +0300 Parents: 1537f67055d1d5de1134e7df51be999332e940ad Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=dd1050fa6cab48f0d26db32cf0a4007b40010311 Log: Improved branch prediction and code locality Changed paths: M Zend/zend_variables.c Diff: diff --git a/Zend/zend_variables.c b/Zend/zend_variables.c index 6cdea0e..782b88c 100644 --- a/Zend/zend_variables.c +++ b/Zend/zend_variables.c @@ -36,7 +36,7 @@ ZEND_API void ZEND_FASTCALL _zval_dtor_func(zend_refcounted *p ZEND_FILE_LINE_DC CHECK_ZVAL_STRING_REL(str); ZEND_ASSERT(!ZSTR_IS_INTERNED(str)); ZEND_ASSERT(GC_REFCOUNT(str) == 0); - pefree(str, GC_FLAGS(str) & IS_STR_PERSISTENT); + pefree(str, UNEXPECTED(GC_FLAGS(str) & IS_STR_PERSISTENT)); break; } case IS_ARRAY: {

« previous php.cvs (#100573) next »