Remove debug prints

This commit is contained in:
d0cd 2022-10-12 13:15:18 -05:00
parent b60cd7e4b0
commit 134fc1860c
2 changed files with 0 additions and 7 deletions

View File

@ -198,17 +198,11 @@ fn compile_and_process<'a>(parsed: &'a mut Compiler<'a>, handler: &Handler) -> R
let st = parsed.loop_unrolling_pass(st)?;
let assigner = parsed.static_single_assignment_pass(&st)?;
println!("Before ssa:\n{:?}", parsed.ast);
parsed.flattening_pass(&st, assigner)?;
println!("Before codegen:\n{:?}", parsed.ast);
// Compile Leo program to bytecode.
let bytecode = CodeGenerator::do_pass((&parsed.ast, handler))?;
println!("After codegen:\n{:?}", bytecode);
Ok(bytecode)
}

View File

@ -45,7 +45,6 @@ impl<'a> CodeGenerator<'a> {
}
fn visit_identifier(&mut self, input: &'a Identifier) -> (String, String) {
println!("Codegen|visit_identifier|input: {:?}", input);
(self.variable_mapping.get(&input.name).unwrap().clone(), String::new())
}