mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Get rid of passing target_info a bunch
This commit is contained in:
parent
8495f3b085
commit
bc41db2a34
18 changed files with 154 additions and 287 deletions
|
@ -710,7 +710,7 @@ fn eq_list<'a>(
|
|||
let size_expr = Expr::Literal(Literal::Int(
|
||||
(layout_interner
|
||||
.get_repr(elem_layout)
|
||||
.stack_size(layout_interner, root.target_info) as i128)
|
||||
.stack_size(layout_interner) as i128)
|
||||
.to_ne_bytes(),
|
||||
));
|
||||
let size_stmt = |next| Stmt::Let(size, size_expr, layout_isize, next);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue