File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 2121
2222#include "Optimizer/zend_optimizer.h"
2323#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"
3431#include "zend_observer.h"
32+ #include "zend_virtual_cwd.h" //for IS_ABSOLUTE_PATH()
33+ #include "zend_vm.h"
3534
3635#ifndef ZEND_OPTIMIZER_MAX_REGISTERED_PASSES
3736# define ZEND_OPTIMIZER_MAX_REGISTERED_PASSES 32
Original file line number Diff line number Diff line change 2222#ifndef ZEND_OPTIMIZER_H
2323#define ZEND_OPTIMIZER_H
2424
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 ;
2730
2831#define ZEND_OPTIMIZER_PASS_1 (1<<0) /* Simple local optimizations */
2932#define ZEND_OPTIMIZER_PASS_2 (1<<1) /* */
You can’t perform that action at this time.
0 commit comments