public class MatchInstr extends CallInstr implements FixedArityInstr
argsCount, callSite, callSiteCounter, callSiteId, hasClosure, name, procNewoperandsEMPTY_OPERANDS| Modifier | Constructor and Description |
|---|---|
|
MatchInstr(IRScope scope,
Variable result,
Operand receiver,
Operand arg) |
protected |
MatchInstr(IRScope scope,
Variable result,
Operand receiver,
Operand arg,
CallSite callSite,
long callSiteId) |
| Modifier and Type | Method and Description |
|---|---|
Instr |
clone(CloneInfo 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).
|
boolean |
computeScopeFlags(IRScope scope)
Does this instruction do anything the scope is interested in?
|
static MatchInstr |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
void |
visit(IRVisitor visitor) |
create, create, createWithKwargs, getResult, updateResultblockInlining, canBeEval, cloneCallArgs, containsArgSplat, getArg1, getArgsCount, getCallArgs, getCallSite, getCallSiteFor, getCallSiteId, getCallType, getClosureArg, getClosureArg, getId, getName, getReceiver, hasLiteralClosure, inliningBlocked, interpret, isAllFixnums, isAllFloats, isPotentiallyRefined, prepareArguments, prepareArgumentsComplex, prepareArgumentsSimple, prepareBlock, setCallSiteId, setProcNew, simplifyOperands, splatMap, targetRequiresCallersBinding, targetRequiresCallersFrame, toStringNonOperandArgsgetOperands, setOperandcanBeDeletedFromScope, canRaiseException, cloneOperands, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, toString, transfersControlprotected MatchInstr(IRScope scope, Variable result, Operand receiver, Operand arg, CallSite callSite, long callSiteId)
public boolean computeScopeFlags(IRScope scope)
InstrcomputeScopeFlags in class CallBasepublic Instr clone(CloneInfo ii)
Instrpublic void encode(IRWriterEncoder e)
public static MatchInstr decode(IRReaderDecoder d)
Copyright © 2001-2020 JRuby. All Rights Reserved.