Skip to content

Commit c593340

Browse files
MaxKellermannGirgias
authored andcommitted
Zend/Optimizer/scdf: include cleanup
1 parent 46371f4 commit c593340

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Zend/Optimizer/scdf.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
+----------------------------------------------------------------------+
1717
*/
1818

19-
#include "Optimizer/zend_optimizer_internal.h"
2019
#include "Optimizer/scdf.h"
20+
#include "Optimizer/zend_optimizer_internal.h"
21+
#include "zend_arena.h"
2122

2223
/* This defines a generic framework for sparse conditional dataflow propagation. The algorithm is
2324
* based on "Sparse conditional constant propagation" by Wegman and Zadeck. We're using a

Zend/Optimizer/scdf.h

+5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
#define _SCDF_H
2121

2222
#include "zend_bitset.h"
23+
#include "zend_long.h"
24+
#include "zend_ssa.h"
25+
26+
typedef struct _zend_op_array zend_op_array;
27+
typedef struct _zend_optimizer_ctx zend_optimizer_ctx;
2328

2429
typedef struct _scdf_ctx {
2530
zend_op_array *op_array;

0 commit comments

Comments
 (0)