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