-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wasm] Allow scalar valuetypes with r4/r8 members. #94969
Conversation
Re: #94895 |
/* Scalar vtypes are passed by value */ | ||
if (mini_wasm_is_scalar_vtype (sig->params [i])) | ||
// FIXME: r4/r8 | ||
if (mini_wasm_is_scalar_vtype (sig->params [i], &etype) && etype->type != MONO_TYPE_R4 && etype->type != MONO_TYPE_R8) { | ||
margs->iargs [int_i] = *(gpointer*)margs->iargs [int_i]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this work correctly for i8/u8? I'm fine with not fixing those yet though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We disable those:
} else if (size == 8 && t->type != MONO_TYPE_R8) {
return FALSE;
LGTM |
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
The Build browser-wasm linux Release LibraryTests_AOT failures are relevant. |
8911be7
to
93438f8
Compare
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
Tagging subscribers to 'arch-wasm': @lewing Issue Detailsnull
|
Failures are unrelated. |
No description provided.