Dmitry Stogov
fa1c05540c
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
this check isn't applicable anymore
2015-03-18 02:17:12 +03:00
Dmitry Stogov
d6bb5c2cd4
GCC prior 4.8.0 may generates wrong code
2015-03-18 02:15:49 +03:00
Anatol Belski
b3788cd200
this check isn't applicable anymore
2015-03-18 00:14:20 +01:00
Dmitry Stogov
87cec4ccc9
Fixed mess in names
2015-03-18 00:13:39 +03:00
Anatol Belski
0ac1075002
catching up with the git history
2015-03-17 22:11:31 +01:00
Anatol Belski
9903767734
fix undefined symbol
2015-03-17 22:11:30 +01:00
Anatol Belski
87767d9ea1
adedd test for bug #68797
2015-03-17 22:11:28 +01:00
Anatol Belski
a160a9097a
restore freeing stuff and some small improvements
2015-03-17 22:11:27 +01:00
Anatol Belski
5d4616e2b0
first shot on updating strtod stuff
2015-03-17 22:11:26 +01:00
Nikita Popov
5c230baf75
Implement Generator::getReturn()
...
Conflicts:
Zend/zend_vm_execute.h
2015-03-17 21:51:53 +01:00
Nikita Popov
f1a6c06f14
Support ParseException for require etc
2015-03-17 21:35:42 +01:00
Dmitry Stogov
55da1fb008
Fixed zend_hash_del()
2015-03-17 23:13:39 +03:00
Dmitry Stogov
4d4a5336f1
Embed "fast" operator functions (add, sub, increment, etc) into executor with additional optimizations
2015-03-17 18:53:19 +03:00
Dmitry Stogov
fb4b706984
Enable GCC global register variables if available
2015-03-17 13:51:02 +03:00
Dmitry Stogov
5c68836b0b
improved timeout handling on windows
2015-03-16 17:49:43 +01:00
Dmitry Stogov
0a6ab089cd
Use memcmp() instead of strncmp()
2015-03-16 15:53:54 +03:00
Xinchen Hui
eeb8eced9b
Improved parser (make use_type reuseable)
2015-03-16 18:43:36 +08:00
Xinchen Hui
8247f49fb2
Exposed ZEND_VM_KIND etc
2015-03-16 17:00:04 +08:00
Xinchen Hui
f54f806f4e
Remove --with-zend-vm (it doesn't work anyway)
2015-03-16 16:59:31 +08:00
Dmitry Stogov
f42ebdd4e9
Fixed inconsistency
2015-03-14 15:11:55 +03:00
Anatol Belski
e78971cd7b
fix syntax for the Visual studio compat
2015-03-13 20:25:10 +01:00
Dmitry Stogov
db10b72523
Use fastcall calling convention for most critical ZE subsystems.
2015-03-13 21:10:09 +03:00
Xinchen Hui
1ec6172940
Revert "Enable zend signals handler by default"
...
This reverts commit dbe7ff6df5
.
2015-03-14 01:10:17 +08:00
Xinchen Hui
dbe7ff6df5
Enable zend signals handler by default
2015-03-14 00:40:54 +08:00
Nikita Popov
3cd6a9845d
Merge branch 'PHP-5.6'
...
Conflicts:
Zend/zend_generators.c
Zend/zend_generators.h
2015-03-13 16:29:39 +01:00
Nikita Popov
4b930e156f
Merge branch 'PHP-5.5' into PHP-5.6
2015-03-13 16:25:21 +01:00
Nikita Popov
a9d73f0646
Fixed bug #69221
...
A generator iterator can be created from different zvals - use
the object handle to manage references instead.
2015-03-13 16:23:53 +01:00
Dmitry Stogov
2b42d71908
Changed HashTable layout:
...
Removed HashTable->arHash (reduced memory consumption). Now hash slots may be accessed using HT_HASH() macro.
Hash slotas are allocated together with Buckets (before them) and lay in reverse order from HashTable->arData base address (see comments in Zend/zend_types.h)
Indexes in hash table and conflict resolution chains (Z_NEXT) may be stored as indeces or offsets in bytes, depending on system (32 or 64-bit).
HashTable data filelds are reordered to keep the most useful for zend_hash_find() data in the same CPU cache line.
2015-03-13 17:13:19 +03:00
Dmitry Stogov
ae26a51f0f
Added API function to call VM opcode handler in a portable way
2015-03-13 11:29:43 +03:00
Dmitry Stogov
249c2323f4
Allow CALL executor to keep few very often used vaiables in CPU registers.
...
This is disabled by default yet, but may be enabled compiling zend_execute.c with -DHAVE_GCC_GLOBAL_REGS.
Only tested on Linux x86 and x86_64 with GCC 4.9.2.
2015-03-13 03:28:21 +03:00
Dmitry Stogov
6289f7e52f
Executor cleanup: fix GOTO and SWITCH VMs, remove aility to build additional PHP-5.0 compatible VM, hide executor implementation details.
2015-03-12 20:39:04 +03:00
Dmitry Stogov
8633685675
Use specialized macro for string zval creation
2015-03-12 16:53:51 +03:00
Xinchen Hui
80274290b7
Comment out for now
2015-03-11 16:54:51 +08:00
Xinchen Hui
37901aa467
Fixed memleak
2015-03-11 13:42:39 +08:00
Xinchen Hui
75c0f63739
Fixed memory leak
2015-03-11 10:33:43 +08:00
Xinchen Hui
253420190b
Merge branch 'PHP-5.6'
2015-03-11 08:20:19 +08:00
Xinchen Hui
d4f727d0f8
Merge branch 'PHP-5.5' into PHP-5.6
2015-03-11 08:20:03 +08:00
Xinchen Hui
675606f1a6
Improve test script for #69212
2015-03-11 08:19:34 +08:00
Dmitry Stogov
ed9c8a23ba
More accurate reference counting on closures
2015-03-10 23:04:41 +03:00
Nikita Popov
00985a975d
Merge branch 'PHP-5.6'
...
Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2015-03-10 18:26:09 +01:00
Nikita Popov
49bd45a2c1
Merge branch 'PHP-5.5' into PHP-5.6
2015-03-10 18:19:27 +01:00
Nikita Popov
bc9f2fb8df
Fixed bug #69212
2015-03-10 18:17:56 +01:00
Dmitry Stogov
a53d82daa6
Prevent possible double inheritance (ext/opcache/tests/bug67215.phpt)
2015-03-10 18:50:07 +03:00
Anatol Belski
61406a527f
C89 compat
2015-03-10 12:11:52 +01:00
Dmitry Stogov
fad8fe94a8
Fixed access on uninitialized data in Zend/tests/closure_019.phpt
2015-03-10 14:05:14 +03:00
Xinchen Hui
4f51f40bf1
Merge branch 'master' of https://git.php.net/repository/php-src
2015-03-10 17:26:15 +08:00
Xinchen Hui
0714e027d0
Merge branch 'PHP-5.6'
2015-03-10 17:24:29 +08:00
Anatol Belski
fd0a66528e
correct tests as the issue is only reproduceable with cgi/fpm
2015-03-10 10:21:22 +01:00
Xinchen Hui
25050e3b00
Merge branch 'PHP-5.5' into PHP-5.6
2015-03-10 17:18:47 +08:00
Xinchen Hui
f074870f4e
Typo
2015-03-10 17:18:39 +08:00