]> granicus.if.org Git - php/commitdiff
Using "enum" types as bit-fields is not portable.
authorDmitry Stogov <dmitry@zend.com>
Fri, 22 Sep 2017 10:35:41 +0000 (13:35 +0300)
committerDmitry Stogov <dmitry@zend.com>
Fri, 22 Sep 2017 10:35:41 +0000 (13:35 +0300)
ext/opcache/Optimizer/zend_ssa.h

index 1af4fabee40089bb8f197618711d2421707af79a..61c4e38c6be864881dafcb5920861a35a4d3dc8d 100644 (file)
@@ -109,7 +109,7 @@ typedef struct _zend_ssa_var {
        zend_ssa_phi          *sym_use_chain;  /* uses of this value in Pi constaints */
        unsigned int           no_val : 1;     /* value doesn't mater (used as op1 in ZEND_ASSIGN) */
        unsigned int           scc_entry : 1;
-       zend_ssa_alias_kind    alias : 2;  /* value may be changed indirectly */
+       unsigned int           alias : 2;  /* value may be changed indirectly */
 } zend_ssa_var;
 
 typedef struct _zend_ssa_var_info {