public class RestArgMultipleAsgnInstr extends MultipleAsgnBase
array, index, result
EMPTY_OPERANDS
Constructor and Description |
---|
RestArgMultipleAsgnInstr(Variable result,
Operand array,
int index) |
RestArgMultipleAsgnInstr(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).
|
Object |
interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
String |
toString() |
void |
visit(IRVisitor visitor) |
getArrayArg, getIndex, getOperands, getResult, simplifyAndGetResult, simplifyOperands, updateResult
canBeDeleted, canRaiseException, cloneForBlockCloning, cloneForInlinedClosure, cloneForInlinedScope, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, transfersControl
public RestArgMultipleAsgnInstr(Variable result, Operand array, int preArgsCount, int postArgsCount, int index)
public Instr cloneForInlining(InlinerInfo ii)
Instr
cloneForInlining
in class Instr
ii
- This object manages renaming of variables and labels, handles
args and return values.public Object interpret(ThreadContext context, DynamicScope currDynScope, IRubyObject self, Object[] temp, Block block)
Copyright © 2001-2014 JRuby. All Rights Reserved.