Skip to content

Commit c9ea8a4

Browse files
committed
Remove comments, improve variable names.
1 parent 27e943b commit c9ea8a4

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

Zend/zend_compile.c

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8534,27 +8534,19 @@ void zend_compile_greater(znode *result, zend_ast *ast) /* {{{ */
85348534
* evaluation order. */
85358535
void zend_compile_pipe(znode *result, zend_ast *ast) /* {{{ */
85368536
{
8537-
// Convenience variables to give meaningful names.
85388537
zend_ast *expr_ast = ast->child[0];
8539-
zend_ast *name_ast = ast->child[1];
8538+
zend_ast *func_ast = ast->child[1];
85408539

8541-
// AST wrapper to hold the opcodes for the LHS expression.
85428540
znode expr_node;
85438541

8544-
// Evaluate the LHS first. (Or rather, generate the
8545-
// opcodes that will evaluate the LHS.
85468542
zend_compile_expr(&expr_node, expr_ast);
85478543

8548-
// Wrap the LHS back up into an AST, and replace the RHS
8549-
// with a call operation that wraps the original RHS expression.
85508544
zend_ast *call = zend_ast_create(ZEND_AST_CALL,
8551-
name_ast,
8545+
func_ast,
85528546
zend_ast_create_list(1,
85538547
ZEND_AST_ARG_LIST,
85548548
zend_ast_create_znode(&expr_node)));
85558549

8556-
// Compile all of that back down to opcodes and save
8557-
// to the result znode.
85588550
zend_compile_expr(result, call);
85598551
}
85608552
/* }}} */

0 commit comments

Comments
 (0)