Commit f45280dd authored by CompilerHIT's avatar CompilerHIT
Browse files

一些杂项修改,无关紧要

Showing with 3 additions and 5 deletions
+3 -5
......@@ -653,7 +653,6 @@ fn dump_inst(
.as_str();
}
}
BinOp::And | BinOp::Or => {}
},
InstKind::Unary(op) => {
// 指令替换
......
......@@ -61,15 +61,14 @@ fn run_main() {
&mut pool_bb,
&mut pool_func,
);
// ir打印
sysylib::ir::dump_now(&module);
drop(compunit);
// ir优化
sysylib::ir::optimizer_run(&mut module, o1_option);
// ir打印
sysylib::ir::dump_now(&module);
let output2 = matches.value_of("o").unwrap_or("row_asm.log");
// 后端解析
generate_asm(filename, output, output2, &mut AsmModule::new(&module));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment