| Modifier and Type | Field and Description |
|---|---|
| private final IRScope |
| 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 boolean | computeScopeFlags(IRScope scope, EnumSet<IRFlags> flags)
Overrides org. Does this instruction do anything the scope is interested in? |
| public static RecordEndBlockInstr | |
| public void | |
| public IRScope | |
| public WrappedIRClosure | |
| public Object | interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp)
Overrides org.
|
| public void |
| declaringScope | back to summary |
|---|---|
| private final IRScope declaringScope | |
| RecordEndBlockInstr | back to summary |
|---|---|
| public RecordEndBlockInstr(IRScope declaringScope, WrappedIRClosure endBlockClosure) | |
| 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. | |
| computeScopeFlags | back to summary |
|---|---|
| public boolean computeScopeFlags(IRScope scope, EnumSet<IRFlags> flags) Overrides org. Doc from org. Does this instruction do anything the scope is interested in?
| |
| decode | back to summary |
|---|---|
| public static RecordEndBlockInstr decode(IRReaderDecoder d) | |
| encode | back to summary |
|---|---|
| public void encode(IRWriterEncoder e) Overrides org.
| |
| getDeclaringScope | back to summary |
|---|---|
| public IRScope getDeclaringScope() | |
| getEndBlockClosure | back to summary |
|---|---|
| public WrappedIRClosure getEndBlockClosure() | |
| interpret | back to summary |
|---|---|
| public Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, Object[] temp) Overrides org.
| |
| visit | back to summary |
|---|---|
| public void visit(IRVisitor visitor) Overrides org.
| |