public class LineNumberInstr extends Instr
| Modifier and Type | Field and Description |
|---|---|
int |
lineNumber |
IRScope |
scope |
EMPTY_OPERANDS| Constructor and Description |
|---|
LineNumberInstr(IRScope scope,
int lineNumber) |
| Modifier and Type | Method and Description |
|---|---|
Instr |
cloneForInlining(InlinerInfo 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).
|
int |
getLineNumber() |
Operand[] |
getOperands() |
String |
toString() |
void |
visit(IRVisitor visitor) |
canBeDeleted, canRaiseException, cloneForBlockCloning, cloneForInlinedClosure, cloneForInlinedScope, getOperation, getUsedVariables, hasSideEffects, hasUnusedResult, interpret, interpretAndGetNewIPC, isDead, markDead, markUnusedResult, renameVars, simplifyAndGetResult, simplifyOperands, transfersControlpublic final int lineNumber
public final IRScope scope
public LineNumberInstr(IRScope scope, int lineNumber)
public Operand[] getOperands()
getOperands in class Instrpublic Instr cloneForInlining(InlinerInfo ii)
InstrcloneForInlining in class Instrii - This object manages renaming of variables and labels, handles
args and return values.public int getLineNumber()
Copyright © 2001-2016 JRuby. All Rights Reserved.