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)
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, setOperandcanBeDeletedFromScope, canRaiseException, cloneOperands, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, simplifyOperands, toString, transfersControlpublic TraceInstr(RubyEvent event, RubySymbol name, java.lang.String filename, int linenumber)
public Instr clone(CloneInfo ii)
Instrpublic RubyEvent getEvent()
public java.lang.String getName()
public java.lang.String getFilename()
public int getLinenumber()
public java.lang.String[] toStringNonOperandArgs()
toStringNonOperandArgs in class Instrpublic 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)
InstrcomputeScopeFlags in class InstrCopyright © 2001-2018 JRuby. All Rights Reserved.