| Modifier and Type | Field and Description |
|---|---|
| public boolean | coverage
Whether to update coverage data when executing this instruction. |
| public final int | |
| public final boolean | oneshot
Whether to disable coverage after the first execution. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Instr | clone(CloneInfo
This object manages renaming of variables and labels, handles
args and return values. ii)Implements abstract org. 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). |
| public static LineNumberInstr | |
| public void | |
| public int | |
| public boolean | |
| public boolean | |
| public String[] | |
| public void |
| coverage | back to summary |
|---|---|
| public boolean coverage Whether to update coverage data when executing this instruction. Note this is non-final so that `oneshot_lines` mode can disable coverage. | |
| lineNumber | back to summary |
|---|---|
| public final int lineNumber | |
| oneshot | back to summary |
|---|---|
| public final boolean oneshot Whether to disable coverage after the first execution. This allows lightweight "covered or not" coverage that only updates once per line. | |
| LineNumberInstr | back to summary |
|---|---|
| public LineNumberInstr(int lineNumber, int coverageMode) | |
| LineNumberInstr | back to summary |
|---|---|
| public LineNumberInstr(int lineNumber) | |
| clone | back to summary |
|---|---|
| public Instr clone(CloneInfo ii) Implements abstract org. Doc from org. 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). This might renaming variables and labels to eliminate naming conflicts. The implementation might vary on the cloning mode. | |
| decode | back to summary |
|---|---|
| public static LineNumberInstr decode(IRReaderDecoder d) | |
| encode | back to summary |
|---|---|
| public void encode(IRWriterEncoder e) Overrides org.
| |
| getLineNumber | back to summary |
|---|---|
| public int getLineNumber() | |
| isCoverage | back to summary |
|---|---|
| public boolean isCoverage() | |
| isOneshot | back to summary |
|---|---|
| public boolean isOneshot() | |
| toStringNonOperandArgs | back to summary |
|---|---|
| public String[] toStringNonOperandArgs() Overrides org.
| |
| visit | back to summary |
|---|---|
| public void visit(IRVisitor visitor) Overrides org.
| |