mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-07 09:17:29 +00:00
Use ZVAL_TRUE() directly
Just a minor change.
This commit is contained in:
1 parent
e44f610443
commit
63983e02fe
1 file changed
+2
-2
+2
-2
@@ -4956,7 +4956,7 @@ void zend_compile_throw(znode *result, zend_ast *ast) /* {{{ */
|
||||
/* Mark this as an "expression throw" for opcache. */
|
||||
opline->extended_value = ZEND_THROW_IS_EXPR;
|
||||
result->op_type = IS_CONST;
|
||||
ZVAL_BOOL(&result->u.constant, 1);
|
||||
ZVAL_TRUE(&result->u.constant);
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
@@ -8855,7 +8855,7 @@ void zend_compile_exit(znode *result, zend_ast *ast) /* {{{ */
|
||||
}
|
||||
|
||||
result->op_type = IS_CONST;
|
||||
ZVAL_BOOL(&result->u.constant, 1);
|
||||
ZVAL_TRUE(&result->u.constant);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
||||
Reference in new issue
Block a user