Skip to content

Commit

Permalink
[arm] Fix a regression introduced by:
Browse files Browse the repository at this point in the history
    [watch] Align cinfo->stack_usage to 16 on watchos. (mono#8354)

Fixes mono#8409.
  • Loading branch information
vargaz authored and monojenkins committed Apr 23, 2018
1 parent 5130d89 commit 073e648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mono/mini/mini-arm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,7 @@ get_call_info (MonoMemPool *mp, MonoMethodSignature *sig)
}

DEBUG (g_print (" stack size: %d (%d)\n", (stack_size + 15) & ~15, stack_size));
stack_size = (stack_size + MONO_ARCH_FRAME_ALIGNMENT) & ~MONO_ARCH_FRAME_ALIGNMENT;
stack_size = ALIGN_TO (stack_size, MONO_ARCH_FRAME_ALIGNMENT);

cinfo->stack_usage = stack_size;
return cinfo;
Expand Down

0 comments on commit 073e648

Please sign in to comment.