mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 03:42:17 +00:00
load stack arguments from the right location
This commit is contained in:
parent
46e8328056
commit
11bd8445b2
1 changed files with 5 additions and 1 deletions
|
@ -554,7 +554,11 @@ impl CallConv<AArch64GeneralReg, AArch64FloatReg, AArch64Assembler> for AArch64C
|
|||
let mut state = AArch64CallStoreArgs {
|
||||
general_i: 0,
|
||||
float_i: 0,
|
||||
tmp_stack_offset: Self::SHADOW_SPACE_SIZE as i32,
|
||||
// 0 makes the math work, but I think we can make the math clearer with changes to
|
||||
// setup_stack and cleanup_stack. Then we could use SHADOW_SPACE_SIZE here to mirror
|
||||
// LoadArgs
|
||||
// tmp_stack_offset: Self::SHADOW_SPACE_SIZE as i32,
|
||||
tmp_stack_offset: 0,
|
||||
};
|
||||
|
||||
for (sym, in_layout) in args.iter().zip(arg_layouts.iter()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue