public class MethodDefinedInstr extends DefinedObjectNameInstr
operands, result
EMPTY_OPERANDS
Constructor and Description |
---|
MethodDefinedInstr(Variable result,
Operand object,
StringLiteral methodName) |
Modifier and Type | Method and Description |
---|---|
Instr |
cloneForInlining(InlinerInfo inlinerInfo)
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).
|
Object |
interpret(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
Object[] temp,
Block block) |
void |
visit(IRVisitor visitor) |
getName, getObject, simplifyOperands, toString
getOperands, getResult, updateResult
canBeDeleted, canRaiseException, cloneForBlockCloning, cloneForInlinedClosure, cloneForInlinedScope, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, transfersControl
public MethodDefinedInstr(Variable result, Operand object, StringLiteral methodName)
public Instr cloneForInlining(InlinerInfo inlinerInfo)
Instr
cloneForInlining
in class Instr
inlinerInfo
- This object manages renaming of variables and labels, handles
args and return values.public Object interpret(ThreadContext context, DynamicScope currDynScope, IRubyObject self, Object[] temp, Block block)
Copyright © 2001-2014 JRuby. All Rights Reserved.