Skip to content

[aot] Fix the handling of r4/r8 parameter types with attributes during generic sharing.#40498

Merged
vargaz merged 1 commit into
dotnet:masterfrom
monojenkins:sync-pr-20217-from-mono
Aug 10, 2020
Merged

[aot] Fix the handling of r4/r8 parameter types with attributes during generic sharing.#40498
vargaz merged 1 commit into
dotnet:masterfrom
monojenkins:sync-pr-20217-from-mono

Conversation

@monojenkins
Copy link
Copy Markdown
Contributor

!! This PR is a copy of mono/mono#20217, please do not edit or review it in this repo !!
Do not automatically approve this PR:

* Consider how the changes affect configurations in this repo,
* Check effects on files that are not mirrored,
* Identify test cases that may be needed in this repo.

!! Merge the PR only after the original PR is merged !!



The attributes need to be ignored as with the other types, otherwise gsharedvt wrappers for signatures with
parameters like double f = default will not be found.

Fixes mono/mono#20195.

…g generic sharing.

The attributes need to be ignored as with the other types, otherwise gsharedvt wrappers for signatures with
parameters like double f = default will not be found.

Fixes mono/mono#20195.
@srxqds
Copy link
Copy Markdown
Contributor

srxqds commented Aug 7, 2020

should the method get_wrapper_shared_type_reg consider this bug also? https://github.com/mono/mono/blob/1ae5414a2c55d2e71df6c80affb158557929474f/mono/mini/mini-generic-sharing.c#L1343-L1371

@vargaz vargaz merged commit 7281349 into dotnet:master Aug 10, 2020
@karelz karelz added this to the 5.0.0 milestone Aug 18, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Wasm] RuntimeError: function signature mismatch (RuntimeError: function signature mismatch)

5 participants