cvs: ZendEngine2 / zend_compile.c
| From: | Stanislav Malyshev | Date: | Thu, 30 Oct 2003 11:11:48 +0000 |
| Subject: | cvs: ZendEngine2 / zend_compile.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1953@lists.php.net to get a copy of this message | ||
stas Thu Oct 30 06:11:48 2003 EDT
Modified files:
/ZendEngine2 zend_compile.c
Log:
make CATCH opcode use "class" T like other opcodes do - via IS_CONST
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.489 ZendEngine2/zend_compile.c:1.490
--- ZendEngine2/zend_compile.c:1.489 Tue Oct 28 00:24:46 2003
+++ ZendEngine2/zend_compile.c Thu Oct 30 06:11:48 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_compile.c,v 1.489 2003/10/28 05:24:46 shane Exp $ */
+/* $Id: zend_compile.c,v 1.490 2003/10/30 11:11:48 stas Exp $ */
#include "zend_language_parser.h"
#include "zend.h"
@@ -1545,7 +1545,7 @@
opline = get_next_op(CG(active_op_array) TSRMLS_CC);
opline->opcode = ZEND_CATCH;
opline->op1 = *catch_class;
- SET_UNUSED(opline->op1); /* FIXME: Define IS_CLASS or something like that */
+/* SET_UNUSED(opline->op1); *//* FIXME: Define IS_CLASS or something like that */
opline->op2 = *catch_var;
if (first_catch) {