| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | ReqdArgMultipleAsgnInstr(Variable result, Operand array, int index, int preArgsCount, int postArgsCount)
|
| 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 ReqdArgMultipleAsgnInstr | |
| public void | |
| public int | |
| public int | |
| public Object | interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp)
Overrides org.
|
| public Operand | simplifyOperands(IRScope
where this instr exists scope, Map<Operand, Operand> Mapping from operands to their simplified values valueMap)Overrides org. This method takes as input a map of operands to their values, and outputs the result of this instruction. |
| public String[] | |
| public void |
| postArgsCount | back to summary |
|---|---|
| private final int postArgsCount | |
| preArgsCount | back to summary |
|---|---|
| private final int preArgsCount | |
| ReqdArgMultipleAsgnInstr | back to summary |
|---|---|
| public ReqdArgMultipleAsgnInstr(Variable result, Operand array, int index, int preArgsCount, int postArgsCount) | |
| ReqdArgMultipleAsgnInstr | back to summary |
|---|---|
| public ReqdArgMultipleAsgnInstr(Variable result, Operand array, int index) | |
| 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 ReqdArgMultipleAsgnInstr decode(IRReaderDecoder d) | |
| encode | back to summary |
|---|---|
| public void encode(IRWriterEncoder e) Overrides org.
| |
| getPostArgsCount | back to summary |
|---|---|
| public int getPostArgsCount() | |
| getPreArgsCount | back to summary |
|---|---|
| public int getPreArgsCount() | |
| interpret | back to summary |
|---|---|
| public Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) Overrides org.
| |
| simplifyOperands | back to summary |
|---|---|
| public Operand simplifyOperands(IRScope scope, Map<Operand, Operand> valueMap) Overrides org. Doc from org. This method takes as input a map of operands to their values, and outputs the result of this instruction. If the value map provides a value for any of the instruction's operands the expectation is that the operand will be replaced with the simplified value. It is not required that it do so -- code correctness is not compromised by failure to simplify. | |
| toStringNonOperandArgs | back to summary |
|---|---|
| public String[] toStringNonOperandArgs() Overrides org.
| |
| visit | back to summary |
|---|---|
| public void visit(IRVisitor visitor) Overrides org.
| |