summaryrefslogtreecommitdiff
path: root/Zend/zend_opcode.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2004-02-04 15:51:07 +0000
committerZeev Suraski <zeev@php.net>2004-02-04 15:51:07 +0000
commit723641590a376fea3ae3fe503785cc037ca304ef (patch)
treed4ade9e1e2dd2269bb8beb4dcddbf92d9ef8cf8b /Zend/zend_opcode.c
parent9fa7d1c24aa8dd6130179da2eb2e0b37b6e4fd8d (diff)
downloadphp-git-723641590a376fea3ae3fe503785cc037ca304ef.tar.gz
Optimize
Diffstat (limited to 'Zend/zend_opcode.c')
-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)