Get rid of passing target_info a bunch

This commit is contained in:
Ayaz Hafiz 2023-06-16 21:38:30 -05:00
parent 8495f3b085
commit bc41db2a34
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
18 changed files with 154 additions and 287 deletions

View file

@ -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);