From 1ccf94066cd6f00ccb3b4d0f572c35514030cb44 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Sat, 11 Nov 2000 17:59:47 +0000 Subject: [PATCH] - Move SET_UNUSED() to header --- Zend/zend_compile.c | 3 --- Zend/zend_compile.h | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 33616a0d5a..cf1b4956b9 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -34,9 +34,6 @@ ZEND_API zend_compiler_globals compiler_globals; ZEND_API zend_executor_globals executor_globals; #endif - -#define SET_UNUSED(op) (op).op_type = IS_UNUSED - static void free_filename(void *p) { efree(*((char **) p)); diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index bc771935e6..b6f87f7628 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -44,6 +44,7 @@ #define FREE_PNODE(znode) zval_dtor(&znode->u.constant); #define FREE_OP(op, should_free) if (should_free) zval_dtor(&Ts[(op)->u.var].tmp_var); +#define SET_UNUSED(op) (op).op_type = IS_UNUSED #if SUPPORT_INTERACTIVE #define INC_BPC(op_array) ((op_array)->backpatch_count++) -- 2.50.1