mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
TERRIBLE HACK to support x86 compilation
This commit is contained in:
parent
5488b3a3eb
commit
2294f6994f
5 changed files with 149 additions and 16 deletions
|
@ -207,6 +207,11 @@ pub trait LayoutInterner<'a>: Sized {
|
|||
.alignment_bytes(self, self.target_info())
|
||||
}
|
||||
|
||||
fn alignment_bytes_for_llvm(&self, layout: InLayout<'a>) -> u32 {
|
||||
self.get_repr(layout)
|
||||
.alignment_bytes_for_llvm(self, self.target_info())
|
||||
}
|
||||
|
||||
fn allocation_alignment_bytes(&self, layout: InLayout<'a>) -> u32 {
|
||||
self.get_repr(layout)
|
||||
.allocation_alignment_bytes(self, self.target_info())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue