summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.h
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2014-08-29 21:47:10 +0200
committerNikita Popov <nikic@php.net>2014-08-29 21:53:09 +0200
commitb73bea9cc86468f82b6619d05e2f105d2712809e (patch)
treed2baa157421db11136e311e829dfd5296229026e /Zend/zend_compile.h
parent545fd5168ed0eaaf23e12f11c48e8dc358de3ee3 (diff)
downloadphp-git-b73bea9cc86468f82b6619d05e2f105d2712809e.tar.gz
Combine foreach copy / switch cond stacks
Now one common stack to handle both, which stores znodes instead of full oplines (foreach copy stack) or switch entries (switch cond stack). Also removed EG(start_op) while at it.
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r--Zend/zend_compile.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h
index b8e8ae1083..71a622f417 100644
--- a/Zend/zend_compile.h
+++ b/Zend/zend_compile.h
@@ -347,12 +347,6 @@ union _zend_function {
zend_internal_function internal_function;
};
-typedef struct _zend_switch_entry {
- znode cond;
- int default_case;
- int control_var;
-} zend_switch_entry;
-
typedef enum _vm_frame_kind {
VM_FRAME_NESTED_FUNCTION, /* stackless VM call to function */
VM_FRAME_NESTED_CODE, /* stackless VM call to include/require/eval */