mips without optimize
This commit is contained in:
21
backend/mips/instr/MipsInstr.java
Executable file
21
backend/mips/instr/MipsInstr.java
Executable file
@@ -0,0 +1,21 @@
|
||||
package backend.mips.instr;
|
||||
|
||||
import backend.mips.instr.type.MipsType;
|
||||
import backend.mips.MipsBuilder;
|
||||
|
||||
public class MipsInstr {
|
||||
private MipsType mt;
|
||||
|
||||
public MipsInstr(MipsType mt) {
|
||||
this.mt = mt;
|
||||
MipsBuilder.addMipsInstr(this);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "";
|
||||
}
|
||||
|
||||
public MipsType getType() {
|
||||
return mt;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user