Skip to content

Commit

Permalink
sweep 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddiaa0 committed Feb 19, 2024
1 parent 07408d4 commit b3fce3c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions avm-transpiler/src/transpile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -522,12 +522,6 @@ fn map_brillig_pcs_to_avm_pcs(initial_offset: usize, brillig: &Brillig) -> Vec<u
BrilligOpcode::Const { bit_size: 254, .. } => 2,
_ => 1,
};
if num_avm_instrs_for_this_brillig_instr > 1 {
println!(
"num_avm_instrs_for_this_brillig_instr: {:?}",
&brillig.bytecode[i]
);
}
// next Brillig pc will map to an AVM pc offset by the
// number of AVM instructions generated for this Brillig one
pc_map[i + 1] = pc_map[i] + num_avm_instrs_for_this_brillig_instr;
Expand Down

0 comments on commit b3fce3c

Please sign in to comment.