Exit with code 0 rather than result

This commit is contained in:
Henry 2019-12-20 16:56:00 +00:00
parent febdd862e8
commit df4fa67122
3 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ public class CodegenImpl implements Codegen {
}
return "call " + String.format("%s_%d\n", main.id, main.numOfArgs)
+ "li a7,93\n"
+ "li a7,10\n"
+ "ecall\n"
+ builder.toString();
}

View file

@ -16,7 +16,7 @@ public class CodegenImpl implements Codegen {
}
return "call " + String.format("%s_%d\n", main.id, main.numOfArgs)
+ "li a7,93\n"
+ "li a7,10\n"
+ "ecall\n"
+ builder.toString();
}

View file

@ -16,7 +16,7 @@ public class CodegenImpl implements Codegen {
}
return "call " + String.format("%s_%d\n", main.id, main.numOfArgs)
+ "li a7,93\n"
+ "li a7,10\n"
+ "ecall\n"
+ builder.toString();
}