public Operand buildMultipleAsgn19(MultipleAsgn19Node multipleAsgnNode, IRScope s) { Operand values = build(multipleAsgnNode.getValueNode(), s); Variable ret = getValueInTemporaryVariable(s, values); s.addInstr(new ToAryInstr(ret, ret, manager.getFalse())); buildMultipleAsgn19Assignment(multipleAsgnNode, s, null, ret); return ret; }
public Operand buildMultipleAsgn19(MultipleAsgn19Node multipleAsgnNode, IRScope s) { Operand values = build(multipleAsgnNode.getValueNode(), s); Variable ret = getValueInTemporaryVariable(s, values); s.addInstr(new ToAryInstr(ret, ret, manager.getFalse())); buildMultipleAsgn19Assignment(multipleAsgnNode, s, null, ret); return ret; }
Operand v = super.buildVersionSpecificGetDefinitionIR(node, s); Label doneLabel = s.getNewLabel(); Variable tmpVar = getValueInTemporaryVariable(s, v); s.addInstr(BNEInstr.create(tmpVar, manager.getNil(), doneLabel)); s.addInstr(new CopyInstr(tmpVar, new StringLiteral("expression"))); Operand v = buildGetDefinitionBase(((NotNode)node).getConditionNode(), s); Label doneLabel = s.getNewLabel(); Variable tmpVar = getValueInTemporaryVariable(s, v); s.addInstr(BEQInstr.create(tmpVar, manager.getNil(), doneLabel)); s.addInstr(new CopyInstr(tmpVar, new StringLiteral("method")));
Operand v = super.buildVersionSpecificGetDefinitionIR(node, s); Label doneLabel = s.getNewLabel(); Variable tmpVar = getValueInTemporaryVariable(s, v); s.addInstr(BNEInstr.create(tmpVar, manager.getNil(), doneLabel)); s.addInstr(new CopyInstr(tmpVar, new StringLiteral("expression"))); Operand v = buildGetDefinitionBase(((NotNode)node).getConditionNode(), s); Label doneLabel = s.getNewLabel(); Variable tmpVar = getValueInTemporaryVariable(s, v); s.addInstr(BEQInstr.create(tmpVar, manager.getNil(), doneLabel)); s.addInstr(new CopyInstr(tmpVar, new StringLiteral("method")));