Use ZVAL_TRUE() directly

Just a minor change.
This commit is contained in:
Kennedy Tedesco authored and Nikita Popov committed 2021-03-29 10:28:23 +02:00
1 parent e44f610443
commit 63983e02fe
1 file changed
+2 -2
+2 -2
View File
@@ -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);
}
/* }}} */