public class MethodIsPublicInstr extends DefinedObjectNameInstr
operands, resultEMPTY_OPERANDS| Constructor and Description |
|---|
MethodIsPublicInstr(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, toStringgetOperands, getResult, updateResultcanBeDeleted, canRaiseException, cloneForBlockCloning, cloneForInlinedClosure, cloneForInlinedScope, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, transfersControlpublic MethodIsPublicInstr(Variable result, Operand object, StringLiteral name)
public Instr cloneForInlining(InlinerInfo inlinerInfo)
InstrcloneForInlining in class InstrinlinerInfo - 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–2024 JRuby. All rights reserved.