public class ReturnInstr extends ReturnBase
returnValueEMPTY_OPERANDS| Constructor and Description |
|---|
ReturnInstr(Operand returnValue) |
| Modifier and Type | Method and Description |
|---|---|
Instr |
cloneForInlinedClosure(InlinerInfo ii)
Clone the instruction (present in a closure) so it can be inlined into another scope.
|
Instr |
cloneForInlinedScope(InlinerInfo ii)
Clone the instruction (present in a method/closure) so it can be inlined into another scope.
|
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).
|
String |
toString() |
void |
visit(IRVisitor visitor) |
getOperands, getReturnValue, simplifyOperandscanBeDeleted, canRaiseException, cloneForBlockCloning, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpret, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, transfersControlpublic ReturnInstr(Operand returnValue)
public String toString()
toString in class ReturnBasepublic Instr cloneForInlining(InlinerInfo ii)
InstrcloneForInlining in class Instrii - This object manages renaming of variables and labels, handles
args and return values.public Instr cloneForInlinedScope(InlinerInfo ii)
InstrcloneForInlinedScope in class Instrpublic Instr cloneForInlinedClosure(InlinerInfo ii)
InstrcloneForInlinedClosure in class InstrCopyright © 2001–2024 JRuby. All rights reserved.