mono: result of regmask should be stored in regmask_t, not int (#41543)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Mon, 31 Aug 2020 13:12:59 +0000 (09:12 -0400)
committerGitHub <noreply@github.com>
Mon, 31 Aug 2020 13:12:59 +0000 (15:12 +0200)
commit007a0e9ef2eb6c2cf5c0888e143f25cd7ce3e79e
tree67a71ffff0722c4d1b7034cedd84f7d31ae80c29
parent05efa9be9ff185c1e7da939213683c6806126c80
mono: result of regmask should be stored in regmask_t, not int (#41543)

While unlikely in practice, architectures with more than 32 registers would be affected by this as `sizeof(regmask_t) ==8` && `sizeof(int) == 4`.

Run into this while debugging something unrelated.

Co-authored-by: skmp <skmp@users.noreply.github.com>
src/mono/mono/mini/mini-codegen.c