Zend/zend_inference: include cleanup

This commit is contained in:
Max Kellermann 2023-01-04 22:15:15 +01:00 committed by George Peter Banyard
parent c7a4633891
commit 492523a779
2 changed files with 9 additions and 8 deletions

View file

@ -16,13 +16,15 @@
+----------------------------------------------------------------------+ +----------------------------------------------------------------------+
*/ */
#include "zend_compile.h"
#include "zend_generators.h"
#include "zend_inference.h" #include "zend_inference.h"
#include "zend_closures.h" // for zend_ce_closure
#include "zend_generators.h" // for zend_ce_generator
#include "zend_func_info.h" #include "zend_func_info.h"
#include "zend_globals.h" // struct _zend_executor_globals
#include "zend_globals_macros.h" // for EG()
#include "zend_call_graph.h" #include "zend_call_graph.h"
#include "zend_closures.h"
#include "zend_worklist.h" #include "zend_worklist.h"
#include "zend_optimizer.h"
#include "zend_optimizer_internal.h" #include "zend_optimizer_internal.h"
/* The used range inference algorithm is described in: /* The used range inference algorithm is described in:

View file

@ -19,12 +19,11 @@
#ifndef ZEND_INFERENCE_H #ifndef ZEND_INFERENCE_H
#define ZEND_INFERENCE_H #define ZEND_INFERENCE_H
#include "zend_optimizer.h" #include "zend_cfg.h" // for CRT_CONSTANT()
#include "zend_compile.h" // for struct _zend_op
#include "zend_portability.h" // for BEGIN_EXTERN_C
#include "zend_ssa.h" #include "zend_ssa.h"
#include "zend_bitset.h" #include "zend_type_info.h" // for MAY_BE_*
/* Bitmask for type inference (zend_ssa_var_info.type) */
#include "zend_type_info.h"
#define MAY_BE_PACKED_GUARD (1<<27) /* needs packed array guard */ #define MAY_BE_PACKED_GUARD (1<<27) /* needs packed array guard */
#define MAY_BE_CLASS_GUARD (1<<27) /* needs class guard */ #define MAY_BE_CLASS_GUARD (1<<27) /* needs class guard */