|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpnuts.compiler.Label
public class Label
| Method Summary | |
|---|---|
void |
fix()
Fixes the position to which the label points as the current position in the code buffer |
void |
register(int pos,
int size)
Registers the label and allocate 2 or 4 bytes in the code buffer. |
void |
setPosition(int tgt)
Fixes the position to which the label points |
void |
setRelativePosition(int tgt)
Fixes the position to which the label points |
Label |
shift(int offset)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void fix()
public Label shift(int offset)
public void setRelativePosition(int tgt)
tgt - the relative position to which the label pointspublic void setPosition(int tgt)
tgt - the absolute position to which the label points
public void register(int pos,
int size)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||