Insn instances.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true in the case described above.to compare b)Compares the contents of this |
| public void | |
| public Insn | Returns: non-null; element at that index>= 0, < size(); which indexGets the element at the given index. |
| public Insn | |
| public void | |
| public InsnList | Returns: non-null; an appropriately-constructed instancethe amount to offset register numbers by delta)Returns an instance that is identical to this one, except that the registers in each instruction are offset by the given amount. |
| InsnList | back to summary |
|---|---|
| public InsnList(int size) Constructs an instance. All indices initially contain
| |
| contentEquals | back to summary |
|---|---|
| public boolean contentEquals(InsnList b) Compares the contents of this
| |
| forEach | back to summary |
|---|---|
| public void forEach(Insn. Visits each instruction in the list, in order. | |
| get | back to summary |
|---|---|
| public Insn get(int n) Gets the element at the given index. It is an error to call
this with the index for an element which was never set; if you
do that, this will throw
| |
| getLast | back to summary |
|---|---|
| public Insn getLast() Gets the last instruction. This is just a convenient shorthand for
| |
| set | back to summary |
|---|---|
| public void set(int n, Insn insn) Sets the instruction at the given index.
| |
| withRegisterOffset | back to summary |
|---|---|
| public InsnList withRegisterOffset(int delta) Returns an instance that is identical to this one, except that the registers in each instruction are offset by the given amount. Mutability of the result is inherited from the original.
| |