com php-src: Remove unused flag: ext/opcache/Optimizer/zend_d ump.c ext/opcache/Optimizer/zend_inference.h

From: Date: Mon, 14 Dec 2020 12:29:21 +0000
Subject: com php-src: Remove unused flag: ext/opcache/Optimizer/zend_d ump.c ext/opcache/Optimizer/zend_inference.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-114439@lists.php.net to get a copy of this message
Commit: b3377028dcd418ea7dfbd772e25c67727df28609 Author: Dmitry Stogov <dmitry@zend.com> Mon, 14 Dec 2020 15:29:21 +0300 Parents: 66e390707c664dfd645c0eb48e6602e0fdbefbd0 Branches: PHP-8.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b3377028dcd418ea7dfbd772e25c67727df28609 Log: Remove unused flag Changed paths: M ext/opcache/Optimizer/zend_dump.c M ext/opcache/Optimizer/zend_inference.h Diff: diff --git a/ext/opcache/Optimizer/zend_dump.c b/ext/opcache/Optimizer/zend_dump.c index 73ddd77a988..cb835574d88 100644 --- a/ext/opcache/Optimizer/zend_dump.c +++ b/ext/opcache/Optimizer/zend_dump.c @@ -319,11 +319,6 @@ static void zend_dump_type_info(uint32_t info, zend_class_entry *ce, int is_inst fprintf(stderr, "resource"); } } -//TODO: this is useful only for JIT??? - if (info & MAY_BE_IN_REG) { - if (first) first = 0; else fprintf(stderr, ", "); - fprintf(stderr, "reg"); - } fprintf(stderr, "]"); } diff --git a/ext/opcache/Optimizer/zend_inference..h b/ext/opcache/Optimizer/zend_inference.h index 6b1021a4cce..212679df5e4 100644 --- a/ext/opcache/Optimizer/zend_inference.h +++ b/ext/opcache/Optimizer/zend_inference.h @@ -29,7 +29,7 @@ #define MAY_BE_PACKED_GUARD (1<<27) /* needs packed array guard */ #define MAY_BE_CLASS_GUARD (1<<27) /* needs class guard */ #define MAY_BE_GUARD (1<<28) /* needs type guard */ -#define MAY_BE_IN_REG (1<<29) /* value allocated in CPU register */ +//#define MAY_BE_IN_REG (1<<29) /* deprecated and not used */ //TODO: remome MAY_BE_RC1, MAY_BE_RCN??? #define MAY_BE_RC1 (1<<30) /* may be non-reference with refcount == 1 */

« previous php.cvs (#114439) next »