diff options
| author | Dmitry Stogov <dmitry@zend.com> | 2013-11-06 22:21:07 +0400 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@zend.com> | 2013-11-06 22:21:07 +0400 |
| commit | 9647c61dc101b9d460259fedb3731026f0390eeb (patch) | |
| tree | c002ea1be17965f999c1b801b48dbfd3788c962d /Zend/zend_compile.h | |
| parent | af600c240d2efe33291e8dd71ce228b9fbc849c1 (diff) | |
| download | php-git-9647c61dc101b9d460259fedb3731026f0390eeb.tar.gz | |
Constant expressions refactoring
Diffstat (limited to 'Zend/zend_compile.h')
| -rw-r--r-- | Zend/zend_compile.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index b80a7cb84f..76b5348e37 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -93,6 +93,7 @@ typedef struct _znode { /* used only during compilation */ znode_op op; zval constant; /* replaced by literal/zv */ zend_op_array *op_array; + zend_ast *ast; } u; zend_uint EA; /* extended attributes */ } znode; @@ -639,6 +640,7 @@ void zend_do_end_namespace(TSRMLS_D); void zend_verify_namespace(TSRMLS_D); void zend_do_use(znode *name, znode *new_name, int is_global TSRMLS_DC); void zend_do_end_compilation(TSRMLS_D); +void zend_do_constant_expression(znode *result, zend_ast *ast TSRMLS_DC); void zend_do_resolve_class_name(znode *result, znode *class_name, int is_static TSRMLS_DC); @@ -722,10 +724,6 @@ int zend_add_literal(zend_op_array *op_array, const zval *zv TSRMLS_DC); #define ZEND_OP_DATA 137 -/* Pseudo-opcodes for internal object overloading */ -#define ZEND_BOOL_AND -1 -#define ZEND_BOOL_OR -2 - /* END: OPCODES */ /* class fetches */ |
