Nikita Popov
|
4c05bec536
|
Remove some unused compiler globals
|
2014-07-28 15:52:18 +02:00 |
|
Nikita Popov
|
31a886c346
|
More dead code
|
2014-07-28 15:43:39 +02:00 |
|
Nikita Popov
|
55f53e29a0
|
zend_get_class_fetch_type works on zend_string
|
2014-07-28 15:39:43 +02:00 |
|
Nikita Popov
|
50aefcf075
|
Remove duplicate code
|
2014-07-28 15:29:56 +02:00 |
|
Nikita Popov
|
2306655214
|
We don't pay per newline...
|
2014-07-28 15:26:30 +02:00 |
|
Nikita Popov
|
38c4125c2e
|
Cleanup dead/duplicate code
|
2014-07-28 15:23:00 +02:00 |
|
Nikita Popov
|
a2925df653
|
Use zend_ast_get_str where possible
|
2014-07-28 15:16:35 +02:00 |
|
Nikita Popov
|
1d79fb308b
|
Add zend_ast_list* variant to parser stack element
|
2014-07-28 15:10:58 +02:00 |
|
Nikita Popov
|
f29b84ab46
|
Minor cleanups in AST code
|
2014-07-28 14:51:08 +02:00 |
|
Nikita Popov
|
187ff135f2
|
zend_do_op_data -> zend_emit_op_data
|
2014-07-28 12:55:37 +02:00 |
|
Nikita Popov
|
d3cb239305
|
Use separate node type for lists
This saves storing the children count for normal ast nodes.
|
2014-07-28 12:06:57 +02:00 |
|
Nikita Popov
|
21eb6807c9
|
Store lineno for zval ast nodes more efficiently
|
2014-07-27 13:25:32 +02:00 |
|
Nikita Popov
|
d0943edf49
|
Remove last EA usages
Still retaining the EA field in znode as it is used by opcache
|
2014-07-27 12:49:26 +02:00 |
|
Nikita Popov
|
bea85f58bb
|
Use more specific parser stack nodes
|
2014-07-27 12:46:54 +02:00 |
|
Nikita Popov
|
a74515e240
|
Separate class type and start lineno
|
2014-07-27 12:37:28 +02:00 |
|
Nikita Popov
|
0b86b1c8e5
|
Store doc comments in separate stack entry from start lineno
|
2014-07-27 12:31:17 +02:00 |
|
Nikita Popov
|
1ea9a2d934
|
Cleanup member modifier code
|
2014-07-27 12:19:01 +02:00 |
|
Nikita Popov
|
df42793cd2
|
Create namespace_name via AST
|
2014-07-26 21:53:50 +02:00 |
|
Nikita Popov
|
c07907121e
|
zend_do_return -> zend_emit_final_return
|
2014-07-26 21:32:48 +02:00 |
|
Nikita Popov
|
4ca4b423be
|
Make lexer return AST nodes
|
2014-07-26 21:22:54 +02:00 |
|
Nikita Popov
|
8c8839c2a1
|
Remove DUMMY_STRINGL
What is that for?
|
2014-07-26 19:03:36 +02:00 |
|
Nikita Popov
|
a51e00a8cd
|
Add functions for create str/long ast directly
|
2014-07-26 19:01:14 +02:00 |
|
Nikita Popov
|
9344a95ac9
|
Remove dead code
|
2014-07-26 18:51:28 +02:00 |
|
Nikita Popov
|
60d96d5117
|
Fix code in test
|
2014-07-26 18:39:40 +02:00 |
|
Nikita Popov
|
0406b4d494
|
Update error message
|
2014-07-26 18:38:54 +02:00 |
|
Nikita Popov
|
17234d7895
|
Replicate old linenos for class binding
|
2014-07-26 18:36:57 +02:00 |
|
Nikita Popov
|
1bdc433259
|
Fix bugs
|
2014-07-26 18:23:46 +02:00 |
|
Nikita Popov
|
edd9fcab1e
|
Fix leaks
Must find a good way to handle constant expressions...
|
2014-07-26 18:08:31 +02:00 |
|
Nikita Popov
|
d46f67a3a7
|
Use arena allocator (currently leaky!)
|
2014-07-26 17:45:45 +02:00 |
|
Nikita Popov
|
1644bf01da
|
Resolve futher interning issues
Not sure if this is the right way to do it ...
|
2014-07-24 21:35:57 +02:00 |
|
Nikita Popov
|
c777427c08
|
Fix interning bug
|
2014-07-24 21:07:37 +02:00 |
|
Nikita Popov
|
689891c2b2
|
Expose ast via CG(ast)
|
2014-07-24 20:51:01 +02:00 |
|
Nikita Popov
|
24ca6bb928
|
Add call_user_func optimization
|
2014-07-24 20:35:18 +02:00 |
|
Nikita Popov
|
cec747234d
|
Implement call_user_func_array optimization
|
2014-07-24 19:22:46 +02:00 |
|
Nikita Popov
|
0356e07a05
|
Implement ZEND_DEFINED optimization
|
2014-07-22 23:30:57 +02:00 |
|
Nikita Popov
|
7892b89465
|
Implement ZEND_TYPE_CHECK optimization
|
2014-07-22 23:15:47 +02:00 |
|
Nikita Popov
|
2ee490ba3a
|
Implement ZEND_STRLEN optimization
|
2014-07-22 22:57:38 +02:00 |
|
Nikita Popov
|
f21d8bc23b
|
CT bind args before unpack
|
2014-07-22 20:41:45 +02:00 |
|
Nikita Popov
|
1859674061
|
Port ZEND_BIND_GLOBAL optimization
|
2014-07-22 20:24:47 +02:00 |
|
Nikita Popov
|
d4d4b69e72
|
Merge branch 'phpng' into ast
Conflicts:
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
Some of dmitry's optimizations are not merged in yet!
|
2014-07-22 18:24:58 +02:00 |
|
Dmitry Stogov
|
f163f625e8
|
fixed "isset($array[true]);"
|
2014-07-22 18:40:29 +04:00 |
|
Dmitry Stogov
|
f81956cb3e
|
Fixed GC bug
|
2014-07-22 18:39:58 +04:00 |
|
Nikita Popov
|
43b2973ee7
|
Remove declare_stack
|
2014-07-22 16:18:13 +02:00 |
|
Nikita Popov
|
a7fc995fa2
|
Dead code
|
2014-07-22 16:11:54 +02:00 |
|
Nikita Popov
|
b9be66ebf2
|
Implement declare()
|
2014-07-22 16:11:19 +02:00 |
|
Nikita Popov
|
2653b8b5dc
|
Handle __halt_compiler()
|
2014-07-22 15:50:23 +02:00 |
|
Dmitry Stogov
|
5fe7f799e0
|
Fixed compatibility
|
2014-07-22 17:14:43 +04:00 |
|
Nikita Popov
|
3becdb3376
|
__halt_compiler() without haling compiler
|
2014-07-22 14:25:19 +02:00 |
|
Nikita Popov
|
de2f132f33
|
Add NS error checks
Those can probably be implemented in a better way now...
|
2014-07-22 14:08:52 +02:00 |
|
Nikita Popov
|
776800b0a0
|
Discard NS doc comments
|
2014-07-22 13:54:54 +02:00 |
|