public class ReqdArgMultipleAsgnInstr extends MultipleAsgnBase
| Modifier and Type | Field and Description |
|---|---|
private int |
postArgsCount |
private int |
preArgsCount |
array, index, resultEMPTY_OPERANDS| Constructor and Description |
|---|
ReqdArgMultipleAsgnInstr(Variable result,
Operand array,
int index) |
ReqdArgMultipleAsgnInstr(Variable result,
Operand array,
int preArgsCount,
int postArgsCount,
int index) |
| Modifier and Type | Method and Description |
|---|---|
Instr |
cloneForInlining(InlinerInfo ii)
Clone the instruction for use in an inlining context (either when a scope is inlined into
another scope, or when a block has to be cloned because its associated call belongs to
an inlined scope).
|
int |
getPostArgsCount() |
int |
getPreArgsCount() |
java.lang.Object |
interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp,
Block block) |
java.lang.String |
toString() |
void |
visit(IRVisitor visitor) |
getArrayArg, getIndex, getOperands, getResult, simplifyAndGetResult, simplifyOperands, updateResultcanBeDeleted, canRaiseException, cloneForBlockCloning, cloneForInlinedClosure, cloneForInlinedScope, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, transfersControlprivate final int preArgsCount
private final int postArgsCount
public ReqdArgMultipleAsgnInstr(Variable result, Operand array, int preArgsCount, int postArgsCount, int index)
public int getPreArgsCount()
public int getPostArgsCount()
public Instr cloneForInlining(InlinerInfo ii)
InstrcloneForInlining in class Instrii - This object manages renaming of variables and labels, handles
args and return values.public java.lang.Object interpret(ThreadContext context, DynamicScope currDynScope, IRubyObject self, java.lang.Object[] temp, Block block)