fix: CI 修复——emit_program 测试调用点补 repl_persist 参数 + clippy 告警清零 + 删空 bench_tests

This commit is contained in:
2026-09-09 15:14:39 +08:00
parent 8eafdcceaf
commit f821f6838f
13 changed files with 18 additions and 32 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ use oxide_bytecode::module::CompiledModule;
fn compile_source(src: &str, regalloc: bool) -> Result<CompiledModule, String> {
let allocator = oxide_parser::Allocator::default();
let program = oxide_parser::parse(&allocator, src).expect("parse failed");
let mut ir = oxide_emit::Emitter::new().emit_program(&program).expect("emit failed");
let mut ir = oxide_emit::Emitter::new().emit_program(&program, false).expect("emit failed");
oxide_dce::dce(&mut ir);
if regalloc {
let cfg = oxide_cfg::build_cfg(&ir);