File tree 2 files changed +14
-12
lines changed
2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 21
21
22
22
#include "Optimizer/zend_optimizer.h"
23
23
#include "Optimizer/zend_optimizer_internal.h"
24
- #include "zend_API.h"
25
- #include "zend_constants.h"
26
- #include "zend_execute.h"
27
- #include "zend_vm.h"
28
- #include "zend_cfg.h"
29
- #include "zend_func_info.h"
30
- #include "zend_call_graph.h"
31
- #include "zend_inference.h"
32
- #include "zend_dump.h"
33
- #include "php.h"
24
+ #include "php_globals.h" // for PG()
25
+ #include "zend_API.h" // for ZVAL_EMPTY_STRING()
26
+ #include "zend_arena.h"
27
+ #include "zend_call_graph.h" // for struct _zend_func_info
28
+ #include "zend_dump.h" // for zend_dump_op_array()
29
+ #include "zend_inference.h" // for OP1_INFO(), ...
30
+ #include "zend_ini.h"
34
31
#include "zend_observer.h"
32
+ #include "zend_virtual_cwd.h" //for IS_ABSOLUTE_PATH()
33
+ #include "zend_vm.h"
35
34
36
35
#ifndef ZEND_OPTIMIZER_MAX_REGISTERED_PASSES
37
36
# define ZEND_OPTIMIZER_MAX_REGISTERED_PASSES 32
Original file line number Diff line number Diff line change 22
22
#ifndef ZEND_OPTIMIZER_H
23
23
#define ZEND_OPTIMIZER_H
24
24
25
- #include "zend.h"
26
- #include "zend_compile.h"
25
+ #include "zend_compile.h" // for zend_op_array
26
+ #include "zend_hash.h"
27
+ #include "zend_portability.h" // for BEGIN_EXTERN_C
28
+
29
+ typedef struct _zend_string zend_string ;
27
30
28
31
#define ZEND_OPTIMIZER_PASS_1 (1<<0) /* Simple local optimizations */
29
32
#define ZEND_OPTIMIZER_PASS_2 (1<<1) /* */
You can’t perform that action at this time.
0 commit comments