[backend] fixed bugs
This commit is contained in:
@@ -96,13 +96,5 @@ int main(int argc, char **argv) {
|
|||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
// generate assembly
|
|
||||||
auto module = generator.get();
|
|
||||||
sysy::RISCv32CodeGen codegen(module);
|
|
||||||
string asmCode = codegen.code_gen();
|
|
||||||
if (argStopAfter == "asm") {
|
|
||||||
cout << asmCode << endl;
|
|
||||||
return EXIT_SUCCESS;
|
|
||||||
}
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user