public class TraceInstr extends NoOperandInstr
EMPTY_OPERANDS
Constructor and Description |
---|
TraceInstr(RubyEvent event,
RubySymbol name,
java.lang.String filename,
int linenumber) |
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,
java.util.EnumSet<IRFlags> flags)
Does this instruction do anything the scope is interested in?
|
static TraceInstr |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
RubyEvent |
getEvent() |
java.lang.String |
getFilename() |
int |
getLinenumber() |
java.lang.String |
getName() |
java.lang.Object |
interpret(ThreadContext context,
StaticScope currScope,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp) |
java.lang.String[] |
toStringNonOperandArgs() |
void |
visit(IRVisitor visitor) |
getOperands, setOperand
canBeDeletedFromScope, canRaiseException, cloneOperands, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, simplifyOperands, toString, transfersControl
public TraceInstr(RubyEvent event, RubySymbol name, java.lang.String filename, int linenumber)
public Instr clone(CloneInfo ii)
Instr
public RubyEvent getEvent()
public java.lang.String getName()
public java.lang.String getFilename()
public int getLinenumber()
public java.lang.String[] toStringNonOperandArgs()
toStringNonOperandArgs
in class Instr
public void encode(IRWriterEncoder e)
public static TraceInstr decode(IRReaderDecoder d)
public java.lang.Object interpret(ThreadContext context, StaticScope currScope, DynamicScope currDynScope, IRubyObject self, java.lang.Object[] temp)
public boolean computeScopeFlags(IRScope scope, java.util.EnumSet<IRFlags> flags)
Instr
computeScopeFlags
in class Instr
Copyright © 2001-2020 JRuby. All Rights Reserved.