diff options
author | Thad House <ThadHouse@users.noreply.github.com> | 2020-05-06 12:52:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-06 12:52:05 +0300 |
commit | c9e6754eea828d7c1ce1a1d3201c597e47451ccf (patch) | |
tree | 7886ccc3ceee2b5c4acd15351fe22c33d2b575b1 /packaging/MacSDK/nuget.py | |
parent | e96347b0ef430930b28ceb49a3e52834ee4351bc (diff) |
Fix incorrect arg storage for arm softfp interpreter (#19676)
In get_call_info, IS_HARD_FLOAT is checked to switch between using the FP registers and the GP registers. This was not done in arg_get_storage, which was always using the hard float registers. This would mean parameters to the native trampoline wouldn't get copied correctly, and return values would be incorrect as well.
I can't find a way to add this to tests, since no softfp test systems seem to be built. I'm working on testing the use cases I can think of on my softfp system just to be sure.
Any assignments to type RegTypeHFA were locked behind a IS_HARD_FLOAT check as well, so I think its safe to modify that case too.
Fixes #14591
Diffstat (limited to 'packaging/MacSDK/nuget.py')
0 files changed, 0 insertions, 0 deletions