File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -8534,27 +8534,19 @@ void zend_compile_greater(znode *result, zend_ast *ast) /* {{{ */
8534
8534
* evaluation order. */
8535
8535
void zend_compile_pipe (znode * result , zend_ast * ast ) /* {{{ */
8536
8536
{
8537
- // Convenience variables to give meaningful names.
8538
8537
zend_ast * expr_ast = ast -> child [0 ];
8539
- zend_ast * name_ast = ast -> child [1 ];
8538
+ zend_ast * func_ast = ast -> child [1 ];
8540
8539
8541
- // AST wrapper to hold the opcodes for the LHS expression.
8542
8540
znode expr_node ;
8543
8541
8544
- // Evaluate the LHS first. (Or rather, generate the
8545
- // opcodes that will evaluate the LHS.
8546
8542
zend_compile_expr (& expr_node , expr_ast );
8547
8543
8548
- // Wrap the LHS back up into an AST, and replace the RHS
8549
- // with a call operation that wraps the original RHS expression.
8550
8544
zend_ast * call = zend_ast_create (ZEND_AST_CALL ,
8551
- name_ast ,
8545
+ func_ast ,
8552
8546
zend_ast_create_list (1 ,
8553
8547
ZEND_AST_ARG_LIST ,
8554
8548
zend_ast_create_znode (& expr_node )));
8555
8549
8556
- // Compile all of that back down to opcodes and save
8557
- // to the result znode.
8558
8550
zend_compile_expr (result , call );
8559
8551
}
8560
8552
/* }}} */
You can’t perform that action at this time.
0 commit comments