mips without optimize

This commit is contained in:
colden
2025-12-12 20:14:00 +08:00
parent 84827838e2
commit c94bebf37b
130 changed files with 5462 additions and 4182 deletions

4
midend/llvm/value/IrGlobalValue.java Normal file → Executable file
View File

@@ -25,4 +25,8 @@ public class IrGlobalValue extends IrValue {
return isConstant ? getName() + " = dso_local constant " + initVal.toString() :
getName() + " = dso_local global " + initVal.toString();
}
public void toMips() {
initVal.toMips(getMipsLabel());
}
}