From: Dmitry Stogov Date: Mon, 5 Feb 2018 16:41:17 +0000 (+0300) Subject: Use low bits X-Git-Tag: php-7.3.0alpha1~468^2~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=070a0091b39b1196fe66bf2ba3c52ad4533f5497;p=php Use low bits --- diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 65a03e6b0e..5e3487ec93 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -871,15 +871,15 @@ void zend_assert_valid_class_name(const zend_string *const_name); #define ZEND_RT (1<<1) /* global/local fetches */ -#define ZEND_FETCH_GLOBAL 0x10000000 -#define ZEND_FETCH_LOCAL 0x20000000 -#define ZEND_FETCH_GLOBAL_LOCK 0x40000000 +#define ZEND_FETCH_GLOBAL (1<<1) +#define ZEND_FETCH_LOCAL (1<<2) +#define ZEND_FETCH_GLOBAL_LOCK (1<<3) -#define ZEND_FETCH_TYPE_MASK 0x70000000 +#define ZEND_FETCH_TYPE_MASK 0xe -#define ZEND_ISSET 0x00000001 +#define ZEND_ISSET (1<<0) -#define ZEND_LAST_CATCH 0x00000001 +#define ZEND_LAST_CATCH (1<<0) #define ZEND_FREE_ON_RETURN (1<<0)