summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/zend_opcode.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c
index 05402af5ce..0012a2926d 100644
--- a/Zend/zend_opcode.c
+++ b/Zend/zend_opcode.c
@@ -251,12 +251,9 @@ ZEND_API void destroy_op_array(zend_op_array *op_array TSRMLS_DC)
void init_op(zend_op *op TSRMLS_DC)
{
- memset(&op->result, 0, sizeof(znode));
+ memset(op, 0, sizeof(zend_op));
op->lineno = CG(zend_lineno);
SET_UNUSED(op->result);
- op->extended_value = 0;
- memset(&op->op1, 0, sizeof(znode));
- memset(&op->op2, 0, sizeof(znode));
}
zend_op *get_next_op(zend_op_array *op_array TSRMLS_DC)