| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| 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 ToAryInstr | |
| public Operand | |
| 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 void |
| ToAryInstr | back to summary |
|---|---|
| public ToAryInstr(Variable result, Operand array) | |
| canBeDeletedFromScope | back to summary |
|---|---|
| public boolean canBeDeletedFromScope(FullInterpreterContext fic) Overrides org.
| |
| 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 ToAryInstr decode(IRReaderDecoder d) | |
| getArray | back to summary |
|---|---|
| public Operand getArray() | |
| 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. | |
| visit | back to summary |
|---|---|
| public void visit(IRVisitor visitor) Overrides org.
| |