public class IsMethodBoundInstr extends DefinedObjectNameInstr
operands, result
EMPTY_OPERANDS
Constructor and Description |
---|
IsMethodBoundInstr(Variable result,
Operand object,
StringLiteral name) |
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 IsMethodBoundInstr(Variable result, Operand object, StringLiteral name)
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-2016 JRuby. All Rights Reserved.