Cleanup test utilities

This commit is contained in:
d0cd 2023-02-21 17:17:54 -08:00
parent 6c61296f78
commit a21141e0e2

View File

@ -198,12 +198,8 @@ pub fn compile_and_process<'a>(parsed: &'a mut Compiler<'a>) -> Result<String, L
let _ = parsed.function_inlining_pass(&call_graph, assigner)?;
println!("Before dce: {:?}", &parsed.ast);
parsed.dead_code_elimination_pass()?;
println!("After dce: {:?}", &parsed.ast);
// Compile Leo program to bytecode.
let bytecode = CodeGenerator::do_pass((&parsed.ast, &st, &struct_graph, &call_graph))?;