Skip to content

Commit

Permalink
style: format
Browse files Browse the repository at this point in the history
  • Loading branch information
SpideyZac committed Jun 3, 2024
1 parent d2c0e73 commit 8d30e9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/compiler/visit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ impl<'a> Visitor<'a> {
}
function.variables += 1;
function.variable_map.insert(name.clone(), variable_type);
function.variable_addresses.insert(name, -function.variables);
function
.variable_addresses
.insert(name, -function.variables);
self.add_statements(vec![ir::IRStatement::Push(0.0)]);
}
}
Expand Down

0 comments on commit 8d30e9b

Please sign in to comment.