Dmitry Stogov
|
53eb20f0cb
|
Merge branch 'PHP-7.2'
* PHP-7.2:
Restore initial values on graceful server restart.
|
2018-01-26 15:25:03 +03:00 |
|
Dmitry Stogov
|
aad12cb49c
|
Restore initial values on graceful server restart.
|
2018-01-26 15:22:36 +03:00 |
|
Anatol Belski
|
93185218e1
|
Revoke the gcc only restriction
clang at least 5.0 supports GNU style attributes and intrinsic macros.
In general, compilers claiming this functionality should know, what
they do.
|
2018-01-25 16:24:04 +01:00 |
|
Anatol Belski
|
92f9fde23a
|
Macrify the common operation
|
2018-01-24 18:35:40 +01:00 |
|
Anatol Belski
|
7e2a9936d3
|
Move useful macro into zend_portability.h
|
2018-01-24 10:14:28 +01:00 |
|
Anatol Belski
|
a6e86f7a3f
|
Implement intrinsic function resolving per MINIT
|
2018-01-24 09:33:32 +01:00 |
|
Sara Golemon
|
79f9ed9b6f
|
Merge branch 'PHP-7.2'
* PHP-7.2:
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
|
2018-01-23 09:24:54 -05:00 |
|
Sara Golemon
|
0067420049
|
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
|
2018-01-23 09:24:47 -05:00 |
|
Sara Golemon
|
e954bafc28
|
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
|
2018-01-23 09:24:40 -05:00 |
|
Sara Golemon
|
e88e83d3e5
|
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
|
2018-01-23 09:24:10 -05:00 |
|
Dmitry Stogov
|
5e8aa036f2
|
Access extra data stored in zval through macros
|
2018-01-23 12:56:22 +03:00 |
|
Dmitry Stogov
|
a89eb2f101
|
Removed commented unoptimized code
|
2018-01-22 16:14:56 +03:00 |
|
Dmitry Stogov
|
b3e22da745
|
Use OBJ_FLAGS() macro to access object flags (even if they are currently stored together with GC_FLAGS)
|
2018-01-22 15:57:00 +03:00 |
|
Dmitry Stogov
|
6fb5568b2d
|
Merge HashTable.u.v.consistency into HashTable.u.v.flags
|
2018-01-22 15:32:34 +03:00 |
|
Dmitry Stogov
|
6634d5e313
|
Use HT_FLAGS() macro
|
2018-01-22 14:58:16 +03:00 |
|
Dmitry Stogov
|
ebf900a9eb
|
Introduce mcros to access HashTable iterators counter
|
2018-01-22 14:14:35 +03:00 |
|
Dmitry Stogov
|
9cbb521094
|
Access HashTable.u.flags through HT_FLAGS() macro.
|
2018-01-22 13:36:15 +03:00 |
|
Dmitry Stogov
|
742d5a01ed
|
Get rid of IS_TYPE_COPYABLE.
|
2018-01-19 17:47:26 +03:00 |
|
Dmitry Stogov
|
5f349f3ab8
|
Avoid useless duplication
|
2018-01-19 13:14:15 +03:00 |
|
Dmitry Stogov
|
bf7176c70f
|
Use reference-counting instead of duplication and separation, if really necessary.
|
2018-01-19 01:03:24 +03:00 |
|
Dmitry Stogov
|
1ee94f56c4
|
Removed IS_TYPE_COPYABLE flag from IS_STRING zvals.
|
2018-01-18 12:41:27 +03:00 |
|
Dmitry Stogov
|
0a336f9421
|
Moved IS_CONSTANT_VISITED_MARK, used for protection from recursive self-referencing class constants, from zval.u1.v.type_flags into zval.u2.access_flags.
|
2018-01-18 11:36:04 +03:00 |
|
Dmitry Stogov
|
1613b6a06b
|
Expand SEPARATE_STRING()
|
2018-01-18 02:30:07 +03:00 |
|
Dmitry Stogov
|
f8885523bf
|
Clenaup SEPARATE_ZVAL...() macros (the behavior is unchanged)
|
2018-01-18 02:27:11 +03:00 |
|
Dmitry Stogov
|
25a44cb99e
|
Eliminate duplication, increment_string() performs it anyway.
|
2018-01-17 20:09:28 +03:00 |
|
Dmitry Stogov
|
a87a2f464b
|
Send by reference without duplication
|
2018-01-17 18:50:18 +03:00 |
|
Dmitry Stogov
|
de79001bef
|
ZVAL_COPY_OR_DUP() instead of ZVAL_DUP()
|
2018-01-17 17:58:42 +03:00 |
|
Dmitry Stogov
|
dd51cb1e34
|
More effecient array duplication
|
2018-01-17 17:56:04 +03:00 |
|
Dmitry Stogov
|
b19d81e0da
|
Use zval_copy_ctor_func() instead of _zval_copy_ctor_func().
|
2018-01-17 17:46:57 +03:00 |
|
Dmitry Stogov
|
20866891bd
|
Eliminate duplication
|
2018-01-17 15:52:52 +03:00 |
|
Dmitry Stogov
|
c4fa7345dc
|
Removed useless separation
|
2018-01-17 03:00:11 +03:00 |
|
Dmitry Stogov
|
5c77bac9a7
|
A cheaper way to reset type flags.
|
2018-01-17 01:58:51 +03:00 |
|
Dmitry Stogov
|
19676fdf55
|
Added zendi_smart_streq() for smart string equality check
|
2018-01-16 17:24:00 +03:00 |
|
Dmitry Stogov
|
e229e7b657
|
Inline function
|
2018-01-16 14:13:49 +03:00 |
|
Anatol Belski
|
74de5461eb
|
The cpu setup is still needed when ifunc is supported
|
2018-01-16 11:55:19 +01:00 |
|
Dmitry Stogov
|
1fd651650f
|
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
Separate the cpuinfo initialization part and call it at startup
|
2018-01-16 13:51:50 +03:00 |
|
Dmitry Stogov
|
0bfc4f34ca
|
Avoid EG(vm_interrupt) check on forward JMP
|
2018-01-16 13:50:36 +03:00 |
|
Anatol Belski
|
811326089f
|
Separate the cpuinfo initialization part and call it at startup
|
2018-01-16 11:27:18 +01:00 |
|
Anatol Belski
|
560cc32e21
|
Fix __cpuidex usage
|
2018-01-16 10:56:46 +01:00 |
|
Dmitry Stogov
|
4861373182
|
Replace checks with asserts
|
2018-01-16 11:39:51 +03:00 |
|
Dmitry Stogov
|
b279aea2bf
|
Removed reference to the obsolete zend_vm_use_old_executor()
|
2018-01-16 10:44:15 +03:00 |
|
Dmitry Stogov
|
d7f3b9b4e9
|
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
Added missed header file
Added ZEND_API zend_cpu_supports
|
2018-01-16 10:34:15 +03:00 |
|
Dmitry Stogov
|
267b78550e
|
Use fastcall calling convention
|
2018-01-16 10:33:41 +03:00 |
|
Xinchen Hui
|
3cb7fff9f1
|
Added missed header file
|
2018-01-16 14:56:43 +08:00 |
|
Xinchen Hui
|
ff6a9d1f10
|
Merge branch 'master' of git.php.net:/php-src
* 'master' of git.php.net:/php-src:
Removed recursive call
Put ZEND_FASTCALL into the proper place.
|
2018-01-16 14:54:05 +08:00 |
|
Xinchen Hui
|
3a3e0493d0
|
Added ZEND_API zend_cpu_supports
|
2018-01-16 14:53:00 +08:00 |
|
Dmitry Stogov
|
d688129360
|
Removed recursive call
|
2018-01-16 09:44:49 +03:00 |
|
Dmitry Stogov
|
1e783db679
|
Put ZEND_FASTCALL into the proper place.
|
2018-01-16 09:44:10 +03:00 |
|
Dmitry Stogov
|
022e029984
|
Optimize zval_dtor_func()
|
2018-01-16 00:57:47 +03:00 |
|
Dmitry Stogov
|
d5238b95a3
|
Added missing #if to allow compilation withput ZEND_MM_CUSTOM
|
2018-01-15 17:37:15 +03:00 |
|