Modifier and Type | Field and Description |
---|---|
java.lang.String |
assem |
Temp[] |
def |
java.util.List<Label> |
jumps |
Temp[] |
use |
Constructor and Description |
---|
Instr() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(Frame frame,
RegAlloc alloc) |
void |
output(java.io.PrintWriter writer) |
void |
replaceDef(Temp olddef,
Temp newdef)
Replaces the dst list.
|
void |
replaceUse(Temp olduse,
Temp newuse)
Replaces the src list.
|
java.lang.String |
toString()
Formats an assembly instruction as a string.
|
public java.lang.String assem
public Temp[] use
public Temp[] def
public java.util.List<Label> jumps