Skip to content
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

[mono][interp] Allow passing vtypes with a single scalar field to nat… #79686

Merged
merged 1 commit into from
Dec 16, 2022

Conversation

vargaz
Copy link
Contributor

@vargaz vargaz commented Dec 14, 2022

…ive code using the faster code path.

This affects types like ObjectHandleOnStack which are passed to icalls.

@ghost
Copy link

ghost commented Dec 14, 2022

Tagging subscribers to this area: @BrzVlad
See info in area-owners.md if you want to be subscribed.

Issue Details

…ive code using the faster code path.

This affects types like ObjectHandleOnStack which are passed to icalls.

Author: vargaz
Assignees: vargaz
Labels:

area-Codegen-Interpreter-mono

Milestone: -

@vargaz
Copy link
Contributor Author

vargaz commented Dec 14, 2022

This will hopefully fix some of the perf regressions in
#79607

@vargaz
Copy link
Contributor Author

vargaz commented Dec 15, 2022

On most platforms, passing scalar vtypes is done by value, so this should work. If it doesn't, we can ifdef it for the platforms where it works.

@vargaz
Copy link
Contributor Author

vargaz commented Dec 15, 2022

The interpreter test failures are relevant.

@BrzVlad
Copy link
Member

BrzVlad commented Dec 15, 2022

we should probably have consistency between the primitive types that are considered to be passable as a native int and the allowed types of the struct field.

…ive code using the faster code path.

This affects types like ObjectHandleOnStack which are passed to icalls.
@vargaz
Copy link
Contributor Author

vargaz commented Dec 16, 2022

Failures are unrelated

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.

2 participants