com php-src: Merge branch 'PHP-7.4': Zend/zend_compile.h ext/opcache/ZendAccelerator.c
| From: | Dmitry Stogov | Date: | Mon, 29 Apr 2019 23:22:58 +0000 |
| Subject: | com php-src: Merge branch 'PHP-7.4': Zend/zend_compile.h ext/opcache/ZendAccelerator.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-105983@lists.php.net to get a copy of this message | ||
Commit: 3d2a6d9bedcadceda9b58deaae774e8551ff294e
Author: Dmitry Stogov <dmitry@zend.com> Tue, 30 Apr 2019 02:22:58 +0300
Parents: faf24142f3f58d0f4c99143b06d120fe8b853d47 8cdd2158949994f110188818e84b54db9a0ed4d1
Branches: master
Link: http://git.php.net/?p=php-src..git;a=commitdiff;h=3d2a6d9bedcadceda9b58deaae774e8551ff294e
Log:
Merge branch 'PHP-7.4'
* PHP-7.4:
Also, use ZEND_ACC_PRELOADED for classes
Changed paths:
MM Zend/zend_compile.h
MM ext/opcache/ZendAccelerator.c
Diff:
diff --cc Zend/zend_compile.h
index 02f5215,93cddfa..56f21d1
--- a/Zend/zend_compile.h
+++ b/Zend/zend_compile.h
@@@ -287,37 -290,38 +290,34 @@@ typedef struct _zend_oparray_context
/* | | | */
/* "main" op_array with | | | */
/* ZEND_DECLARE_INHERITED_CLASS_DELAYED opcodes | | | */
- #define ZEND_ACC_EARLY_BINDING (1 << 15) /* | X | | */
+ #define ZEND_ACC_EARLY_BINDING (1 << 16) /* | X | | */
/* | | | */
-/* method flag (bc only), any method that has this | | | */
-/* flag can be used statically and non statically. | | | */
-#define ZEND_ACC_ALLOW_STATIC (1 << 17) /* | X | | */
-/* | | | */
/* call through user function trampoline. e.g. | | | */
/* __call, __callstatic | | | */
- #define ZEND_ACC_CALL_VIA_TRAMPOLINE (1 << 17) /* | X | | */
+ #define ZEND_ACC_CALL_VIA_TRAMPOLINE (1 << 18) /* | X | | */
/* | | | */
/* disable inline caching | | | */
- #define ZEND_ACC_NEVER_CACHE (1 << 18) /* | X | | */
+ #define ZEND_ACC_NEVER_CACHE (1 << 19) /* | X | | */
/* | | | */
/* Closure related | | | */
- #define ZEND_ACC_CLOSURE (1 << 19) /* | X | | */
- #define ZEND_ACC_FAKE_CLOSURE (1 << 20) /* | X | | */
+ #define ZEND_ACC_CLOSURE (1 << 20) /* | X | | */
+ #define ZEND_ACC_FAKE_CLOSURE (1 << 21) /* | X | | */
/* | | | */
/* run_time_cache allocated on heap (user only) | | | */
- #define ZEND_ACC_HEAP_RT_CACHE (1 << 21) /* | X | | */
+ #define ZEND_ACC_HEAP_RT_CACHE (1 << 22) /* | X | | */
/* | | | */
/* method flag used by Closure::__invoke() | | | */
- #define ZEND_ACC_USER_ARG_INFO (1 << 22) /* | X | | */
+ #define ZEND_ACC_USER_ARG_INFO (1 << 23) /* | X | | */
/* | | | */
- #define ZEND_ACC_GENERATOR (1 << 23) /* | X | | */
+ #define ZEND_ACC_GENERATOR (1 << 24) /* | X | | */
/* | | | */
- #define ZEND_ACC_DONE_PASS_TWO (1 << 24) /* | X | | */
+ #define ZEND_ACC_DONE_PASS_TWO (1 << 25) /* | X | | */
/* | | | */
/* internal function is allocated at arena (int only) | | | */
- #define ZEND_ACC_ARENA_ALLOCATED (1 << 25) /* | X | | */
+ #define ZEND_ACC_ARENA_ALLOCATED (1 << 26) /* | X | | */
/* | | | */
/* op_array is a clone of trait method | | | */
- #define ZEND_ACC_TRAIT_CLONE (1 << 26) /* | X | | */
- /* | | | */
- /* op_array is preloaded | | | */
- #define ZEND_ACC_PRELOADED (1 << 27) /* | X | | */
+ #define ZEND_ACC_TRAIT_CLONE (1 << 27) /* | X | | */
/* | | | */
/* functions is a constructor | | | */
#define ZEND_ACC_CTOR (1 << 28) /* | X | | */