mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Fix mono tests
This commit is contained in:
parent
9187286580
commit
c0e52f9e54
3 changed files with 9 additions and 9 deletions
|
@ -1120,7 +1120,7 @@ impl<
|
|||
src2: Symbol,
|
||||
layout: InLayout<'a>,
|
||||
) {
|
||||
match self.layout_interner.get(layout).repr {
|
||||
match self.layout_interner.get_repr(layout) {
|
||||
LayoutRepr::Builtin(Builtin::Int(width @ quadword_and_smaller!())) => {
|
||||
let intrinsic = bitcode::NUM_ADD_SATURATED_INT[width].to_string();
|
||||
self.build_fn_call(&dst, intrinsic, &[src1, src2], &[layout, layout], &layout);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue