mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
add alignment dbg assert
This commit is contained in:
parent
8eb1b09ff9
commit
76f03c722f
1 changed files with 1 additions and 0 deletions
|
@ -460,6 +460,7 @@ impl CallConv<X86_64GeneralReg, X86_64FloatReg, X86_64Assembler> for X86_64Syste
|
||||||
}
|
}
|
||||||
Layout::Struct([]) => {}
|
Layout::Struct([]) => {}
|
||||||
Layout::Builtin(Builtin::Str | Builtin::List(_)) => {
|
Layout::Builtin(Builtin::Str | Builtin::List(_)) => {
|
||||||
|
debug_assert_eq!(base_offset % 8, 0);
|
||||||
X86_64Assembler::mov_reg64_base32(buf, Self::GENERAL_RETURN_REGS[0], base_offset);
|
X86_64Assembler::mov_reg64_base32(buf, Self::GENERAL_RETURN_REGS[0], base_offset);
|
||||||
X86_64Assembler::mov_reg64_base32(
|
X86_64Assembler::mov_reg64_base32(
|
||||||
buf,
|
buf,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue