diff options
Diffstat (limited to 'ext/opcache/Optimizer/zend_optimizer.h')
-rw-r--r-- | ext/opcache/Optimizer/zend_optimizer.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/opcache/Optimizer/zend_optimizer.h b/ext/opcache/Optimizer/zend_optimizer.h index 27c6159b7d..9c2a805e76 100644 --- a/ext/opcache/Optimizer/zend_optimizer.h +++ b/ext/opcache/Optimizer/zend_optimizer.h @@ -44,4 +44,13 @@ #define DEFAULT_OPTIMIZATION_LEVEL "0xFFFFFFFF" +typedef struct _zend_script { + zend_string *filename; + zend_op_array main_op_array; + HashTable function_table; + HashTable class_table; +} zend_script; + +int zend_optimize_script(zend_script *script, zend_long optimization_level); + #endif |