@Override public Instr cloneForInlining(InlinerInfo ii) { return new PutFieldInstr(operands[TARGET].cloneForInlining(ii), ref, operands[VALUE].cloneForInlining(ii)); }
@Override public Instr cloneForInlining(InlinerInfo ii) { return new PutFieldInstr(operands[TARGET].cloneForInlining(ii), ref, operands[VALUE].cloneForInlining(ii)); }
public static PutFieldInstr decode(IRReaderDecoder d) { return new PutFieldInstr(d.decodeOperand(), d.decodeSymbol(), d.decodeOperand()); }
public static PutFieldInstr decode(IRReaderDecoder d) { return new PutFieldInstr(d.decodeOperand(), d.decodeSymbol(), d.decodeOperand()); }
public Operand buildInstAsgn(final InstAsgnNode instAsgnNode) { Operand val = build(instAsgnNode.getValueNode()); // NOTE: if 's' happens to the a class, this is effectively an assignment of a class instance variable addInstr(new PutFieldInstr(buildSelf(), instAsgnNode.getName(), val)); return val; }
public Operand buildInstAsgn(final InstAsgnNode instAsgnNode) { Operand val = build(instAsgnNode.getValueNode()); // NOTE: if 's' happens to the a class, this is effectively an assignment of a class instance variable addInstr(new PutFieldInstr(buildSelf(), instAsgnNode.getName(), val)); return val; }
@Override public Instr clone(CloneInfo ii) { return new PutFieldInstr(getTarget().cloneForInlining(ii), getName(), getValue().cloneForInlining(ii)); }
public Operand buildInstAsgn(final InstAsgnNode instAsgnNode, IRScope s) { Operand val = build(instAsgnNode.getValueNode(), s); // NOTE: if 's' happens to the a class, this is effectively an assignment of a class instance variable s.addInstr(new PutFieldInstr(getSelf(s), instAsgnNode.getName(), val)); return val; }
public Operand buildInstAsgn(final InstAsgnNode instAsgnNode, IRScope s) { Operand val = build(instAsgnNode.getValueNode(), s); // NOTE: if 's' happens to the a class, this is effectively an assignment of a class instance variable s.addInstr(new PutFieldInstr(getSelf(s), instAsgnNode.getName(), val)); return val; }
@Override public Instr clone(CloneInfo ii) { return new PutFieldInstr(getTarget().cloneForInlining(ii), getName(), getValue().cloneForInlining(ii)); }
case INSTASGNNODE: s.addInstr(new PutFieldInstr(getSelf(s), ((InstAsgnNode)node).getName(), rhsVal)); break; case LOCALASGNNODE: {
case INSTASGNNODE: s.addInstr(new PutFieldInstr(getSelf(s), ((InstAsgnNode)node).getName(), rhsVal)); break; case LOCALASGNNODE: {
case INSTASGNNODE: addInstr(new PutFieldInstr(buildSelf(), ((InstAsgnNode)node).getName(), rhsVal)); break; case LOCALASGNNODE: {
case INSTASGNNODE: addInstr(new PutFieldInstr(buildSelf(), ((InstAsgnNode)node).getName(), rhsVal)); break; case LOCALASGNNODE: {
receiveBlockArg(v, argsArray, argIndex, isSplat); addInstr(new PutFieldInstr(buildSelf(), ((InstAsgnNode)node).getName(), v)); break; case LOCALASGNNODE: {
receiveBlockArg(v, argsArray, argIndex, isSplat); addInstr(new PutFieldInstr(buildSelf(), ((InstAsgnNode)node).getName(), v)); break; case LOCALASGNNODE: {
receiveBlockArg(s, v, argsArray, argIndex, isClosureArg, isSplat); s.addInstr(new PutFieldInstr(getSelf(s), ((InstAsgnNode)node).getName(), v)); break; case LOCALASGNNODE: {
receiveBlockArg(s, v, argsArray, argIndex, isClosureArg, isSplat); s.addInstr(new PutFieldInstr(getSelf(s), ((InstAsgnNode)node).getName(), v)); break; case LOCALASGNNODE: {