Fix order of parameter processing. Note the offsets appear different to the size...
commit18fdc10cc1f96c4a689cd4b7aa07d459500a78af
authorNeale Ferguson <neale@sinenomine.net>
Tue, 4 Dec 2018 15:15:57 +0000 (4 10:15 -0500)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Tue, 4 Dec 2018 15:15:57 +0000 (4 10:15 -0500)
treef99f7267937a048bb8ea1c1f702a17437ce98c14
parent2f17f4f2a277002ba1a53b1f06cae74ab4b0af2d
Fix order of parameter processing. Note the offsets appear different to the size of the variables being passed but s390x will align parameters on 64-bit boundaries which is why the gbooleans appear to be treated as gulongs. (#11912)

Fix order of parameter processing.

New parameter addition was put in wrong spot in the parameter list. Also the offsets on the stack were incorrect as 32-bit values are placed in 64-bit aligned slots on s390x. Therefore, even though these are gbooleans the appear to be treated as gulongs.

<!--
Thank you for your Pull Request!

If you are new to contributing to Mono, please try to do your best at conforming to our coding guidelines http://www.mono-project.com/community/contributing/coding-guidelines/ but don't worry if you get something wrong. One of the project members will help you to get things landed.

Does your pull request fix any of the existing issues? Please use the following format: Fixes #issue-number
-->
mono/mini/exceptions-s390x.c