Commit graph

112 commits

Author SHA1 Message Date
Nikita Popov
cfd79841f4 Fix typos 2020-03-16 17:07:27 +01:00
Dmitry Stogov
4bf2d09ede Tracing JIT (it doesn't support register allocation yet)
Use opcache.jit=1255 to swith it on (the third digit 5 really matters)
Use opcache.jit_debug=0xff001 to see how it works and what code it generates
2020-03-13 22:11:07 +03:00
Dmitry Stogov
6b862e82d9 These EG(current_execute_data) = EX(prev_execute_data) assignments are useless now 2020-01-31 14:50:41 +03:00
Dmitry Stogov
f43fe067e9 Avoid hash value recalculation on each counter update 2019-09-09 21:25:54 +03:00
Nikita Popov
ee4b11c668 Detect calls to abstract methods in get_method() already
Instead of checking for this during DO_FCALL, already detect this
case during get_method()/get_static_method(), similar to visibility
checks.

This causes a minor difference in behavior, in that arguments will
no longer be evaluated. I think this is correct though (and consistent
with visibility errors).
2019-09-06 15:05:24 +02:00
Nikita Popov
d9750ac41e Load execute_data without global regs 2019-09-05 10:46:50 +02:00
Nikita Popov
5d490742cb Fix deprecated args freeing with JIT
I'm including the logic for this rare case in the helper function
to avoid complicating the main JIT logic.
2019-09-05 10:05:46 +02:00
Nikita Popov
8239b58bea Fix closure extra args freeing for JIT as well 2019-08-30 10:35:41 +02:00
Dmitry Stogov
499b25c303 Fixed JIT for DEFINED opcode 2019-04-22 20:19:34 +03:00
Dmitry Stogov
39505764ad Merge branch 'PHP-7.4'
* PHP-7.4:
  Replace "ZEND_CALL_CTOR" hack by additional live-range
2019-04-12 01:01:47 +03:00
Xinchen Hui
6322b6ffe7 Change to php.net mail address 2019-04-08 17:16:07 +08:00
Dmitry Stogov
9a06876072 Added JIT compiler for x86 and x86_64 2019-04-01 10:27:11 +03:00