From 59d00b8bcc05f72b29c3c768542b2bb6e69e1af4 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 16 Mar 2016 03:36:58 +0300 Subject: Transparently introduce type-specialized opcode handlers. This affects only PHP VM, and doesn't change anything else. --- Zend/zend_vm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Zend/zend_vm.h') diff --git a/Zend/zend_vm.h b/Zend/zend_vm.h index cae56c1c0b..0a635e123a 100644 --- a/Zend/zend_vm.h +++ b/Zend/zend_vm.h @@ -25,6 +25,7 @@ BEGIN_EXTERN_C() ZEND_API void zend_vm_use_old_executor(void); ZEND_API void zend_vm_set_opcode_handler(zend_op* opcode); +ZEND_API void zend_vm_set_opcode_handler_ex(zend_op* opcode, uint32_t op1_info, uint32_t op2_info, uint32_t res_info); ZEND_API int zend_vm_call_opcode_handler(zend_execute_data *ex); END_EXTERN_C() -- cgit v1.2.1 From 73e8c08788a65d65adcb32eea1ab92353ee9046b Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Thu, 17 Mar 2016 11:59:15 +0800 Subject: Sorry for that... Merged by accident.... Revert "Transparently introduce type-specialized opcode handlers." This reverts commit 59d00b8bcc05f72b29c3c768542b2bb6e69e1af4. --- Zend/zend_vm.h | 1 - 1 file changed, 1 deletion(-) (limited to 'Zend/zend_vm.h') diff --git a/Zend/zend_vm.h b/Zend/zend_vm.h index 0a635e123a..cae56c1c0b 100644 --- a/Zend/zend_vm.h +++ b/Zend/zend_vm.h @@ -25,7 +25,6 @@ BEGIN_EXTERN_C() ZEND_API void zend_vm_use_old_executor(void); ZEND_API void zend_vm_set_opcode_handler(zend_op* opcode); -ZEND_API void zend_vm_set_opcode_handler_ex(zend_op* opcode, uint32_t op1_info, uint32_t op2_info, uint32_t res_info); ZEND_API int zend_vm_call_opcode_handler(zend_execute_data *ex); END_EXTERN_C() -- cgit v1.2.1 From fc7cbdce61df94505892087a6a08b05c6de9d9d7 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 17 Mar 2016 22:00:27 +0300 Subject: Squashed commit of the following: commit 98471821a89d7106de508fc544504ba674025abe Author: Dmitry Stogov Date: Thu Mar 17 21:56:04 2016 +0300 Fixed wrong constant usage commit 8183b811e74c2989bcd8ab9d870fc3adbe973980 Author: Dmitry Stogov Date: Thu Mar 17 21:10:23 2016 +0300 Added ability to serialize and serialize opcode handlers for file-cache commit 3516b261de7694bb1f34c5ae1adfb2f29dfab7bf Author: Dmitry Stogov Date: Thu Mar 17 10:11:59 2016 +0300 Added missed file commit f4475a23608623ccbf11b00c1c74df1db55dffa2 Author: Dmitry Stogov Date: Thu Mar 17 10:00:45 2016 +0300 Transparently introduce type-specialized opcode handlers. This affects only PHP VM, and doesn't change anything else. --- Zend/zend_vm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Zend/zend_vm.h') diff --git a/Zend/zend_vm.h b/Zend/zend_vm.h index cae56c1c0b..39cbd8ee9c 100644 --- a/Zend/zend_vm.h +++ b/Zend/zend_vm.h @@ -25,6 +25,9 @@ BEGIN_EXTERN_C() ZEND_API void zend_vm_use_old_executor(void); ZEND_API void zend_vm_set_opcode_handler(zend_op* opcode); +ZEND_API void zend_vm_set_opcode_handler_ex(zend_op* opcode, uint32_t op1_info, uint32_t op2_info, uint32_t res_info); +ZEND_API void zend_serialize_opcode_handler(zend_op *op); +ZEND_API void zend_deserialize_opcode_handler(zend_op *op); ZEND_API int zend_vm_call_opcode_handler(zend_execute_data *ex); END_EXTERN_C() -- cgit v1.2.1