Exit with code 0 rather than result
This commit is contained in:
parent
febdd862e8
commit
df4fa67122
3 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue