Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Feb 4, 2025
1 parent 11bc7e4 commit c13c875
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions compiler/noirc_evaluator/src/ssa/opt/inlining.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,6 @@ fn called_functions(func: &Function) -> BTreeSet<FunctionId> {
called_functions_vec(func).into_iter().collect()
}



impl InlineContext {
/// Create a new context object for the function inlining pass.
/// This starts off with an empty mapping of instructions for main's parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,4 +368,4 @@ fn mark_brillig_functions_to_retain(
entry_point,
);
}
}
}
3 changes: 2 additions & 1 deletion compiler/noirc_evaluator/src/ssa/opt/preprocess_fns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ impl Ssa {
let bottom_up = inlining::inline_info::compute_bottom_up_order(&self);

// Preliminary inlining decisions.
let inline_infos = inlining::inline_info::compute_inline_infos(&self, false, aggressiveness);
let inline_infos =
inlining::inline_info::compute_inline_infos(&self, false, aggressiveness);

let should_inline_call = |callee: &Function| -> bool {
match callee.runtime() {
Expand Down

0 comments on commit c13c875

Please sign in to comment.