mips without optimize
This commit is contained in:
4
midend/llvm/value/IrGlobalValue.java
Normal file → Executable file
4
midend/llvm/value/IrGlobalValue.java
Normal file → Executable 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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user