Skip to content

Commit

Permalink
refactor: add revoke_ap_tracking
Browse files Browse the repository at this point in the history
Resolve a compilation issue when compiling Sierra to CASM with inlining-strategy = "avoid".
  • Loading branch information
j1mbo64 committed Oct 11, 2024
1 parent cdc5ab5 commit b56e8f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ripemd160.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ fn ripemd160_process_block(ref ctx: RIPEMD160Context, block: @Array<u32>) {
l5(ref lh2, lh3, ref lh4, lh0, lh1, *block.at(15), 5);
l5(ref lh1, lh2, ref lh3, lh4, lh0, *block.at(13), 6);

core::internal::revoke_ap_tracking();

// Right round 1
r1(ref rh0, rh1, ref rh2, rh3, rh4, *block.at(5), 8);
r1(ref rh4, rh0, ref rh1, rh2, rh3, *block.at(14), 9);
Expand Down

0 comments on commit b56e8f3

Please sign in to comment.