cvs: ZendEngine2 / zend_compile.c
| From: | Andi Gutmans | Date: | Tue, 10 Feb 2004 11:44:17 +0000 |
| Subject: | cvs: ZendEngine2 / zend_compile.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2340@lists.php.net to get a copy of this message | ||
andi Tue Feb 10 06:44:17 2004 EDT
Modified files:
/ZendEngine2 zend_compile.c
Log:
- Nuke more unused code
http://cvs.php.net/diff.php/ZendEngine2/zend_compile.c?r1=1.538&r2=1.539&ty=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.538 ZendEngine2/zend_compile.c:1.539
--- ZendEngine2/zend_compile.c:1.538 Tue Feb 10 05:44:09 2004
+++ ZendEngine2/zend_compile.c Tue Feb 10 06:44:17 2004
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_compile.c,v 1.538 2004/02/10 10:44:09 andi Exp $ */
+/* $Id: zend_compile.c,v 1.539 2004/02/10 11:44:17 andi Exp $ */
#include "zend_language_parser.h"
#include "zend.h"
@@ -346,11 +346,7 @@
if (varname->op_type == IS_CONST && varname->u.constant.type == IS_STRING) {
if (zend_is_auto_global(varname->u.constant.value.str.val,
varname->u.constant.value.str.len TSRMLS_CC)) {
opline_ptr->op2.u.EA.type = ZEND_FETCH_GLOBAL;
- } else {
-/* if (CG(active_op_array)->static_variables &&
zend_hash_exists(CG(active_op_array)->static_variables, varname->u.constant.value.str.val,
varname->u.constant.value.str.len+1)) {
- opline_ptr->op2.u.EA.type = ZEND_FETCH_STATIC;
- }
-*/ }
+ }
}
if (bp) {