mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Make VarStore no longer use atomics
This commit is contained in:
parent
6d6ccab513
commit
269da82840
22 changed files with 498 additions and 465 deletions
|
@ -17,14 +17,14 @@ pub enum Constraint {
|
|||
}
|
||||
|
||||
impl Constraint {
|
||||
pub fn instantiate_aliases(&mut self, var_store: &VarStore) {
|
||||
pub fn instantiate_aliases(&mut self, var_store: &mut VarStore) {
|
||||
Self::instantiate_aliases_help(self, &ImMap::default(), var_store, &mut ImSet::default())
|
||||
}
|
||||
|
||||
fn instantiate_aliases_help(
|
||||
&mut self,
|
||||
aliases: &ImMap<Symbol, Alias>,
|
||||
var_store: &VarStore,
|
||||
var_store: &mut VarStore,
|
||||
introduced: &mut ImSet<Variable>,
|
||||
) {
|
||||
use Constraint::*;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue