Anatol Belski
|
da78550006
|
fix TS build and C89 compat
|
2014-12-10 12:23:46 +01:00 |
|
Dmitry Stogov
|
29b9105beb
|
Wrap RETURN_VALUE_USED() with EXPECTED() or UNEXPECTED() macros according to more frequent usage patterns.
|
2014-12-09 17:07:12 +03:00 |
|
Dmitry Stogov
|
5b3a69c29f
|
Improved ASSIGN_<OP>, ASSIGN_DIM and UNSET_DIM
|
2014-12-09 15:15:24 +03:00 |
|
Dmitry Stogov
|
98e81e13cf
|
simplified code
|
2014-12-09 12:17:55 +03:00 |
|
Dmitry Stogov
|
0b19a7c235
|
Move ZVAL_DEREF() and make_real_object() into slow paths.
|
2014-12-09 03:05:06 +03:00 |
|
Dmitry Stogov
|
f70545678b
|
Pass znode_op structure by value (it fits into one word) instead of pointer to structure.
|
2014-12-09 03:03:38 +03:00 |
|
Dmitry Stogov
|
11f7854e75
|
Move checks for references into slow paths.
|
2014-12-09 01:09:44 +03:00 |
|
Dmitry Stogov
|
b6c6e7960a
|
Improved ASSIGN_DIM and ASSIGN_OBJ
|
2014-12-09 00:10:23 +03:00 |
|
Dmitry Stogov
|
0bfc9c6979
|
Fixed typo
|
2014-12-08 18:40:37 +03:00 |
|
Dmitry Stogov
|
db4271d332
|
Move checks for references into slow paths of handlers or helpers. Remove duplicate opcode handlers.
|
2014-12-08 18:11:14 +03:00 |
|
Dmitry Stogov
|
a555bdf7d1
|
Removed useless handlers
|
2014-12-06 03:03:48 +03:00 |
|
Dmitry Stogov
|
5ba4ae7f67
|
Move checks for references into slow paths of operator functions. Remove duplicate opcode handlers.
|
2014-12-06 02:14:45 +03:00 |
|
Dmitry Stogov
|
8ab9396adf
|
Get rid of few more duplicate handlers
|
2014-12-05 18:23:39 +03:00 |
|
Dmitry Stogov
|
e6180ebb64
|
Improved BOOL, BOOL_NOT and conditional jumps
|
2014-12-05 17:04:15 +03:00 |
|
Dmitry Stogov
|
62867f008d
|
Improved ECHO and PRINT
|
2014-12-05 15:07:49 +03:00 |
|
Dmitry Stogov
|
a417ebfc48
|
Get rid of duplicare FETCH_DIM_* handlers
|
2014-12-05 13:45:03 +03:00 |
|
Dmitry Stogov
|
c7f695f311
|
Get rid of duplicate handlers (where the code for IS_TMP_VAR and IS_VAR operands is the same)
|
2014-12-05 12:40:47 +03:00 |
|
Dmitry Stogov
|
e5716d1b5a
|
Get rid of duplicate handlers (ZEND_ADD_SPEC_TMP_TMP and ZEND_ADD_SPEC_VAR_VAR are absolutely the same).
|
2014-12-03 18:02:02 +03:00 |
|
Dmitry Stogov
|
5dd427eac2
|
Use zend_string* for op_array->arg_info[]->name and op_array->arg_info[]->class_name. For internal functions we still use char*.
|
2014-12-03 16:56:09 +03:00 |
|
Dmitry Stogov
|
631f05f71e
|
Improved POST INC/DEC
|
2014-12-03 02:47:03 +03:00 |
|
Dmitry Stogov
|
60dbf7b541
|
Fixed "finally" handling (the bug was introduced by recent removing of EX(delayed_exception))
|
2014-12-02 16:05:30 +03:00 |
|
Dmitry Stogov
|
2d39d033e3
|
Avoid useless dereferences
|
2014-11-28 19:45:39 +03:00 |
|
Dmitry Stogov
|
38d70aec3e
|
Removed useless check
|
2014-11-28 16:50:35 +03:00 |
|
Dmitry Stogov
|
1da14c9f81
|
Pack EX(frame_info) into EX(This).u1.v.reserved. Rename "frame"kind" into "call_kind" and VM_FRAME_... into ZEND_CALL_...
|
2014-11-28 10:33:03 +03:00 |
|
Dmitry Stogov
|
11384ba77b
|
Pack EX(num_args) into EX(This).u2.num_args
|
2014-11-28 10:28:49 +03:00 |
|
Dmitry Stogov
|
9a36cb1a07
|
Get rid of EX(scope). In most cases we use EG(scope) anyway. EX(scope) was used to switch EG(scope) back after call, but it's possibleto use EX(func)->common.scope instead.
|
2014-11-28 10:21:18 +03:00 |
|
Dmitry Stogov
|
216ef32173
|
Changed "finally" handling. Removed EX(fast_ret) and EX(delayed_exception). Allocate and use additional IS_TMP_VAR slot on VM stack instead.
|
2014-11-27 09:56:43 +03:00 |
|
Dmitry Stogov
|
303d73ecd2
|
Reimplemented silence operator (@) handling on exceptions. Now each silence region is stored in op_array->brk_cont_array. On exception ZEND_HANDLE_EXCEPTION handler traverse this array and restore original EG(error_reporting) if exception occured inside a "silence" region.
|
2014-11-26 22:44:58 +03:00 |
|
Dmitry Stogov
|
1c569b41d5
|
Merge branch 'PHP-5.6'
* PHP-5.6:
Better fix for bug #68446
|
2014-11-25 18:12:30 +03:00 |
|
Dmitry Stogov
|
e116595e63
|
Better fix for bug #68446
|
2014-11-25 18:09:08 +03:00 |
|
Dmitry Stogov
|
83ce1d9a78
|
Revert "Merge remote-tracking branch 'origin/PHP-5.6'"
This reverts commit 38229d13d1 , reversing
changes made to 77f172725a .
|
2014-11-25 15:40:08 +03:00 |
|
Bob Weinand
|
aba95c2399
|
Revert "Fix bug #68446 (bug with constant defaults and type hints)"
This reverts commit 5ef138b0c7 .
|
2014-11-25 12:24:29 +01:00 |
|
Dmitry Stogov
|
a271c7a5cf
|
Use specialized destructors when types of zvals are known.
|
2014-11-25 01:22:59 +03:00 |
|
Dmitry Stogov
|
e45dbba560
|
Micro optimization
|
2014-11-24 15:46:34 +03:00 |
|
Bob Weinand
|
38229d13d1
|
Merge remote-tracking branch 'origin/PHP-5.6'
Conflicts:
Zend/zend_compile.c
Zend/zend_execute.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
|
2014-11-23 23:50:47 +01:00 |
|
Bob Weinand
|
5ef138b0c7
|
Fix bug #68446 (bug with constant defaults and type hints)
|
2014-11-23 21:10:41 +01:00 |
|
Dmitry Stogov
|
03815693ec
|
Fixed typo
|
2014-11-20 10:13:08 +03:00 |
|
Dmitry Stogov
|
e20a727430
|
SEND_VAR_NO_REF optimization
|
2014-11-18 14:37:36 +03:00 |
|
Dmitry Stogov
|
c746dcd7fd
|
Get rid of zend_free_op structure (use zval* instead).
Get rid of useless TSRMLS arguments.
|
2014-11-18 09:05:48 +03:00 |
|
Dmitry Stogov
|
1f432c85b0
|
Micro optimization
|
2014-11-13 17:36:08 +03:00 |
|
Xinchen Hui
|
84cd04fca0
|
A better fix(do the convertion in compile time)
|
2014-11-10 23:35:45 +08:00 |
|
Xinchen Hui
|
249e3de5da
|
Fixed segfault in bug62500.phpt
|
2014-11-10 17:54:18 +08:00 |
|
Dmitry Stogov
|
75041379a6
|
Improved object property access.
|
2014-11-06 14:50:03 +03:00 |
|
Andrea Faulds
|
faa4c6155e
|
Respect flags when fetching class by name
|
2014-11-04 00:15:26 +00:00 |
|
Xinchen Hui
|
fced6e6148
|
Save memory allocating
|
2014-10-30 16:55:40 +08:00 |
|
Xinchen Hui
|
af22cd665c
|
Fixed memory leak in ZEND_JMPZ_EX (op1 and result may share same slot)
|
2014-10-30 16:00:08 +08:00 |
|
Dmitry Stogov
|
6e396961c5
|
Fixed "instanceof" with undefined classes
|
2014-10-23 14:50:57 +04:00 |
|
Dmitry Stogov
|
4fd435abab
|
Embed FETCH_CLASS <string> into the following NEW
|
2014-10-23 11:52:34 +04:00 |
|
Dmitry Stogov
|
8dedd863bc
|
Get rid of ZEND_FETCH_MAKE_REF
|
2014-10-22 21:45:02 +04:00 |
|
Dmitry Stogov
|
534d854fb2
|
Embed FETCH_CLASS <string> into the following INSTANCEOF
|
2014-10-22 17:23:43 +04:00 |
|