Skip to content

Commit fe4dc7d

Browse files
committed
Revert changes in Zend/zend_vm.h
1 parent ad8c9b1 commit fe4dc7d

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Zend/zend_vm.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#define ZEND_VM_H
2121

2222
#include "zend_portability.h"
23-
#include "zend_vm_opcodes.h"
2423

2524
typedef struct _zend_op zend_op;
2625
typedef struct _zend_execute_data zend_execute_data;
@@ -31,7 +30,7 @@ ZEND_API void ZEND_FASTCALL zend_vm_set_opcode_handler(zend_op* opcode);
3130
ZEND_API void ZEND_FASTCALL zend_vm_set_opcode_handler_ex(zend_op* opcode, uint32_t op1_info, uint32_t op2_info, uint32_t res_info);
3231
ZEND_API void ZEND_FASTCALL zend_serialize_opcode_handler(zend_op *op);
3332
ZEND_API void ZEND_FASTCALL zend_deserialize_opcode_handler(zend_op *op);
34-
ZEND_API zend_vm_opcode_handler_func_t ZEND_FASTCALL zend_get_opcode_handler_func(const zend_op *op);
33+
ZEND_API const void* ZEND_FASTCALL zend_get_opcode_handler_func(const zend_op *op);
3534
ZEND_API const zend_op *zend_get_halt_op(void);
3635
ZEND_API int ZEND_FASTCALL zend_vm_call_opcode_handler(zend_execute_data *ex);
3736
ZEND_API int zend_vm_kind(void);

Zend/zend_vm_execute.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Zend/zend_vm_execute.skl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ ZEND_API void ZEND_FASTCALL zend_deserialize_opcode_handler(zend_op *op)
134134
op->handler = zend_opcode_handlers[(uintptr_t)op->handler];
135135
}
136136

137-
ZEND_API zend_vm_opcode_handler_func_t ZEND_FASTCALL zend_get_opcode_handler_func(const zend_op *op)
137+
ZEND_API const void *ZEND_FASTCALL zend_get_opcode_handler_func(const zend_op *op)
138138
{
139139
#if ZEND_VM_KIND == ZEND_VM_KIND_HYBRID || ZEND_VM_TAIL_CALL_DISPATCH
140140
zval *zv;

0 commit comments

Comments
 (0)