mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-26 03:33:44 +03:00
Cleanup test utilities
This commit is contained in:
parent
6c61296f78
commit
a21141e0e2
@ -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))?;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user