public final class Label extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addPatchAt(int branchLocation,
Assembler asm) |
protected void |
bind(int pos,
Assembler asm)
Binds the label to
pos and patches all instructions added by
Label.addPatchAt(int, Assembler). |
int |
getBlockId() |
boolean |
isBound() |
int |
position()
Returns the position of this label in the code buffer.
|
void |
reset() |
String |
toString() |
public int position()
public int getBlockId()
protected void bind(int pos,
Assembler asm)
pos and patches all instructions added by
Label.addPatchAt(int, Assembler).public boolean isBound()
public void addPatchAt(int branchLocation,
Assembler asm)
public void reset()