public class AsStringInstr extends ZeroOperandArgNoBlockCallInstr
Modifier and Type | Field and Description |
---|---|
static ByteList |
TO_S |
argsCount, callSite, callSiteCounter, callSiteId, hasClosure, name, procNew
operands
EMPTY_OPERANDS
Constructor and Description |
---|
AsStringInstr(IRScope scope,
Variable result,
Operand source,
boolean isPotentiallyRefined) |
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).
|
static AsStringInstr |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
java.lang.Object |
interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
void |
visit(IRVisitor visitor) |
create, create, createWithKwargs, getResult, updateResult
blockInlining, canBeEval, cloneCallArgs, computeScopeFlags, containsArgSplat, getArg1, getArgsCount, getCallArgs, getCallSite, getCallSiteFor, getCallSiteId, getCallType, getClosureArg, getClosureArg, getId, getName, getReceiver, hasLiteralClosure, inliningBlocked, isAllFixnums, isAllFloats, isPotentiallyRefined, prepareArguments, prepareArgumentsComplex, prepareArgumentsSimple, prepareBlock, setCallSiteId, setProcNew, simplifyOperands, splatMap, targetRequiresCallersBinding, targetRequiresCallersFrame, toStringNonOperandArgs
getOperands, setOperand
canBeDeletedFromScope, canRaiseException, cloneOperands, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, toString, transfersControl
public static final ByteList TO_S
public Instr clone(CloneInfo ii)
Instr
clone
in class ZeroOperandArgNoBlockCallInstr
ii
- This object manages renaming of variables and labels, handles
args and return values.public void encode(IRWriterEncoder e)
public static AsStringInstr decode(IRReaderDecoder d)
public java.lang.Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, java.lang.Object[] temp)
interpret
in class ZeroOperandArgNoBlockCallInstr
Copyright © 2001-2022 JRuby. All Rights Reserved.