Fix native stack size alignment on macOS arm64 (#51179)
We were setting an unaligned stack size to the MethodDesc of ILStub. The lowest two bits actually overlap with two flags in the extended flags, so the size is expected to be aligned at least to 4 to not to overwrite the flags. On macOS arm64, the computed native stack size can be misaligned, so this change adds explicit alignment before storing the stack size to the MethodDesc.
Showing
想要评论请 注册 或 登录