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

JIT: fix invocation of unboxed entry when method returns struct #52998

Merged
merged 2 commits into from
May 20, 2021

Commits on May 19, 2021

  1. JIT: fix invocation of unboxed entry when method returns struct

    If a value class method returns a struct, and its unboxed entry point
    requires a type context argument, make sure to pass the context argument
    properly.
    
    Also, fetch the type context (method table) from the box, rather than
    creating it from the class handle we have on hand; this tends to produce
    smaller code as we're often fetching the method table for other reasons
    anyways.
    
    Closes dotnet#52975.
    AndyAyersMS committed May 19, 2021
    Configuration menu
    Copy the full SHA
    b2e3f96 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2021

  1. review feedback

    AndyAyersMS committed May 20, 2021
    Configuration menu
    Copy the full SHA
    ee00614 View commit details
    Browse the repository at this point in the history