Skip to content

Commit

Permalink
Format object_builder
Browse files Browse the repository at this point in the history
  • Loading branch information
agu-z committed Oct 8, 2023
1 parent 9d3f407 commit 3dacc50
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/compiler/gen_dev/src/object_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,11 @@ fn build_proc<'a, B: Backend<'a>>(
}
}

fn add_undefined_rc_proc(output: &mut Object<'_>, name: &String, rc_proc_names: &Vec<'_, (symbol::Symbol, String)>) {
fn add_undefined_rc_proc(
output: &mut Object<'_>,
name: &String,
rc_proc_names: &Vec<'_, (symbol::Symbol, String)>,
) {
// If the symbol is an undefined reference counting procedure, we need to add it here.
if output.symbol_id(name.as_bytes()).is_none() {
for (sym, rc_name) in rc_proc_names.iter() {
Expand Down

0 comments on commit 3dacc50

Please sign in to comment.