From 942cb329768f59ff140df1ac29f8e6c6a0933ec0 Mon Sep 17 00:00:00 2001 From: Lixuanwang Date: Tue, 24 Jun 2025 00:42:14 +0800 Subject: [PATCH] [backend] fixed bugs --- src/sysyc.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/sysyc.cpp b/src/sysyc.cpp index 3e1caee..85515a7 100644 --- a/src/sysyc.cpp +++ b/src/sysyc.cpp @@ -96,13 +96,5 @@ int main(int argc, char **argv) { 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; } \ No newline at end of file