diff options
author | Vlad Brezae <brezaevlad@gmail.com> | 2022-01-04 19:49:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 19:49:27 +0300 |
commit | a791978a6e4312698137be451c648b650a8c8663 (patch) | |
tree | 873aa91cc10316fabd34ecca45d69fc436fdc59b /code_of_conduct.md | |
parent | 16b53fa04c9824cda209b35febdc51b4876fd1a0 (diff) |
[interp] Remove hack for nint/nfloat (#21382)
These structures are valuetypes, but their mint_type is a primitive. This means that a LDFLD applied on the type would have attempted to do a pointer dereference, because it saw that the current top of stack is not STACK_TYPE_VT. This was fixed in the past by passing the managed pointer to the valuetype rather than the valuetype itself, against the normal call convention, which lead to inconsistencies in the code.
This commit removes that hack and fixes the problem by ignoring LDFLD applied to nint/nfloat valuetypes in the first place.
Diffstat (limited to 'code_of_conduct.md')
0 files changed, 0 insertions, 0 deletions