| Modifier and Type | Field and Description |
|---|---|
| private final int | minArgsLength
This instruction gets to pick an argument off the arry only if the array has at least these many elements |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Instr | clone(CloneInfo
This object manages renaming of variables and labels, handles
args and return values. ii)Implements abstract org. 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). |
| public static OptArgMultipleAsgnInstr | |
| public void | |
| public int | |
| public Object | interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp)
Overrides org.
|
| public String[] | |
| public void |
| minArgsLength | back to summary |
|---|---|
| private final int minArgsLength This instruction gets to pick an argument off the arry only if the array has at least these many elements | |
| OptArgMultipleAsgnInstr | back to summary |
|---|---|
| public OptArgMultipleAsgnInstr(Variable result, Operand array, int index, int minArgsLength) | |
| clone | back to summary |
|---|---|
| public Instr clone(CloneInfo ii) Implements abstract org. Doc from org. 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). This might renaming variables and labels to eliminate naming conflicts. The implementation might vary on the cloning mode. | |
| decode | back to summary |
|---|---|
| public static OptArgMultipleAsgnInstr decode(IRReaderDecoder d) | |
| encode | back to summary |
|---|---|
| public void encode(IRWriterEncoder e) Overrides org.
| |
| getMinArgsLength | back to summary |
|---|---|
| public int getMinArgsLength() | |
| interpret | back to summary |
|---|---|
| public Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) Overrides org.
| |
| toStringNonOperandArgs | back to summary |
|---|---|
| public String[] toStringNonOperandArgs() Overrides org.
| |
| visit | back to summary |
|---|---|
| public void visit(IRVisitor visitor) Overrides org.
| |