Remove some prints and switch an uneeded isize to usize since it can't be negative

This commit is contained in:
microproofs
2025-01-09 16:08:13 +07:00
parent 19b4b9df0f
commit c1ed0dcbb5
3 changed files with 6 additions and 9 deletions

View File

@@ -217,10 +217,8 @@ impl<'a> CodeGenerator<'a> {
fn finalize(&mut self, mut term: Term<Name>) -> Program<Name> {
term = self.special_functions.apply_used_functions(term);
println!("PROG BEFORE IS {}", term.to_pretty());
let program = aiken_optimize_and_intern(self.new_program(term));
println!("PROG IS {}", program.to_pretty());
let program = aiken_optimize_and_intern(self.new_program(term));
// This is very important to call here.
// If this isn't done, re-using the same instance