public class ReceiveOptArgInstr18 extends ReceiveOptArgBase
argIndex, resultEMPTY_OPERANDS| Constructor and Description |
|---|
ReceiveOptArgInstr18(Variable result,
int index) |
| Modifier and Type | Method and Description |
|---|---|
Instr |
cloneForBlockCloning(InlinerInfo ii)
Clone the instruction so it can be used in a cloned block which is present in a scope that itself
or an ancestor scope (in the case of nested blocks) is being inlined.
|
Instr |
cloneForInlinedScope(InlinerInfo ii)
Clone the instruction (present in a method/closure) so it can be inlined into another scope.
|
java.lang.Object |
receiveOptArg(IRubyObject[] args) |
void |
visit(IRVisitor visitor) |
getArgIndex, getOperands, getResult, toString, updateResultcanBeDeleted, canRaiseException, cloneForInlinedClosure, cloneForInlining, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpret, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, simplifyOperands, transfersControlpublic ReceiveOptArgInstr18(Variable result, int index)
public Instr cloneForInlinedScope(InlinerInfo ii)
InstrcloneForInlinedScope in class Instrpublic Instr cloneForBlockCloning(InlinerInfo ii)
InstrcloneForBlockCloning in class Instrpublic java.lang.Object receiveOptArg(IRubyObject[] args)
receiveOptArg in class ReceiveOptArgBaseCopyright © 2002-2009 JRuby Team. All Rights Reserved.