mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51: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
|
@ -8,7 +8,7 @@ use std::i64;
|
|||
|
||||
#[inline(always)]
|
||||
pub fn num_expr_from_result(
|
||||
var_store: &VarStore,
|
||||
var_store: &mut VarStore,
|
||||
result: Result<i64, &str>,
|
||||
env: &mut Env,
|
||||
) -> Expr {
|
||||
|
@ -29,7 +29,7 @@ pub fn num_expr_from_result(
|
|||
|
||||
#[inline(always)]
|
||||
pub fn int_expr_from_result(
|
||||
var_store: &VarStore,
|
||||
var_store: &mut VarStore,
|
||||
result: Result<i64, &str>,
|
||||
env: &mut Env,
|
||||
) -> Expr {
|
||||
|
@ -48,7 +48,7 @@ pub fn int_expr_from_result(
|
|||
|
||||
#[inline(always)]
|
||||
pub fn float_expr_from_result(
|
||||
var_store: &VarStore,
|
||||
var_store: &mut VarStore,
|
||||
result: Result<f64, &str>,
|
||||
env: &mut Env,
|
||||
) -> Expr {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue