mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-02 19:32:17 +00:00
Merge pull request #7015 from roc-lang/align-16
Fix alignment of 16 byte types
This commit is contained in:
commit
faeea52878
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ fn alignment_type(context: &Context, alignment: u32) -> BasicTypeEnum {
|
||||||
2 => context.i16_type().into(),
|
2 => context.i16_type().into(),
|
||||||
4 => context.i32_type().into(),
|
4 => context.i32_type().into(),
|
||||||
8 => context.i64_type().into(),
|
8 => context.i64_type().into(),
|
||||||
16 => context.i128_type().into(),
|
16 => context.f128_type().into(),
|
||||||
_ => unimplemented!("weird alignment: {alignment}"),
|
_ => unimplemented!("weird alignment: {alignment}"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue