Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: regression end to end test #1965

Merged
merged 21 commits into from
Jul 21, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
sort now takes a predicate
kevaundray committed Jul 18, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 7d455d632ae0db0ec8e198f721420ab038640bb6
6 changes: 4 additions & 2 deletions crates/noirc_evaluator/src/ssa_refactor/acir_gen/mod.rs
Original file line number Diff line number Diff line change
@@ -754,8 +754,10 @@ impl Context {
}
}
// Generate the sorted output variables
let out_vars =
self.acir_context.sort(input_vars, bit_size).expect("Could not sort");
let out_vars = self
.acir_context
.sort(input_vars, bit_size, self.current_side_effects_enabled_var)
.expect("Could not sort");

Ok(Self::convert_vars_to_values(out_vars, dfg, result_ids))
}