From 723641590a376fea3ae3fe503785cc037ca304ef Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Wed, 4 Feb 2004 15:51:07 +0000 Subject: [PATCH] Optimize --- Zend/zend_opcode.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c index 05402af5cee..0012a2926dd 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)