This commit is contained in:
@@ -4720,7 +4720,7 @@ static sxi32 PH7_GenStateEmitExprCode(
|
|||||||
} else if(iVmOp == PH7_OP_LOR) {
|
} else if(iVmOp == PH7_OP_LOR) {
|
||||||
/* Emit the true jump so we can short-circuit the logical or*/
|
/* Emit the true jump so we can short-circuit the logical or*/
|
||||||
PH7_VmEmitInstr(pGen->pVm, pGen->pIn->nLine, PH7_OP_JMPNZ, 1/* Keep the value on the stack */, 0, 0, &nJmpIdx);
|
PH7_VmEmitInstr(pGen->pVm, pGen->pIn->nLine, PH7_OP_JMPNZ, 1/* Keep the value on the stack */, 0, 0, &nJmpIdx);
|
||||||
} else if(pNode->pOp->iPrec == 18 /* Combined binary operators [i.e: =,'.=','+=',*=' ...] precedence */) {
|
} else if(pNode->pOp->iPrec == 20 /* Combined binary operators [i.e: =,'.=','+=',*=' ...] precedence */) {
|
||||||
iFlags |= EXPR_FLAG_LOAD_IDX_STORE;
|
iFlags |= EXPR_FLAG_LOAD_IDX_STORE;
|
||||||
}
|
}
|
||||||
rc = PH7_GenStateEmitExprCode(&(*pGen), pNode->pRight, iFlags);
|
rc = PH7_GenStateEmitExprCode(&(*pGen), pNode->pRight, iFlags);
|
||||||
|
Reference in New Issue
Block a user