mips without optimize
This commit is contained in:
16
backend/mips/instr/MipsLabel.java
Normal file
16
backend/mips/instr/MipsLabel.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package backend.mips.instr;
|
||||
|
||||
import backend.mips.instr.type.MipsType;
|
||||
|
||||
public class MipsLabel extends MipsInstr {
|
||||
private String label;
|
||||
|
||||
public MipsLabel(String label) {
|
||||
super(MipsType.LABEL);
|
||||
this.label = label;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return this.label + ":\n";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user