public class LineNumberInstr extends NoOperandInstr implements FixedArityInstr
| Modifier and Type | Field and Description |
|---|---|
boolean |
coverage
Whether to update coverage data when executing this instruction.
|
int |
lineNumber |
boolean |
oneshot
Whether to disable coverage after the first execution.
|
EMPTY_OPERANDS| Constructor and Description |
|---|
LineNumberInstr(int lineNumber) |
LineNumberInstr(int lineNumber,
int coverageMode) |
| 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 LineNumberInstr |
decode(IRReaderDecoder d) |
void |
encode(IRWriterEncoder e) |
int |
getLineNumber() |
boolean |
isCoverage() |
boolean |
isOneshot() |
java.lang.String[] |
toStringNonOperandArgs() |
void |
visit(IRVisitor visitor) |
getOperands, setOperandcanBeDeletedFromScope, canRaiseException, cloneOperands, computeScopeFlags, dumpableFields, getOperation, getUsedVariables, hasSideEffects, interpret, interpretAndGetNewIPC, isDead, isDeletable, markDead, renameVars, simplifyAndGetResult, simplifyOperands, toString, transfersControlpublic final int lineNumber
public boolean coverage
public final boolean oneshot
public LineNumberInstr(int lineNumber,
int coverageMode)
public LineNumberInstr(int lineNumber)
public int getLineNumber()
public boolean isCoverage()
public boolean isOneshot()
public java.lang.String[] toStringNonOperandArgs()
toStringNonOperandArgs in class Instrpublic Instr clone(CloneInfo ii)
Instrpublic void encode(IRWriterEncoder e)
public static LineNumberInstr decode(IRReaderDecoder d)
Copyright © 2001-2022 JRuby. All Rights Reserved.