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] Fix support for calls to static virtual methods from gshared c… #65126

Merged
merged 1 commit into from
Feb 10, 2022

Commits on Feb 10, 2022

  1. [mono] Fix support for calls to static virtual methods from gshared c…

    …ode.
    
    Fixes dotnet#65002.
    
    When called from gshared code, these methods cannot be resolved at compile time,
    since they depend on the constrained class which is only known at runtime.
    
    * For calls from normal gshared code, load the method address from the rgctx.
    * For calls from gsharedvt code, extend the existing mono_gsharedvt_constrained_call ()
    JIT icall to be able to handle static virtual methods.
    vargaz committed Feb 10, 2022
    Configuration menu
    Copy the full SHA
    77a8ffa View commit details
    Browse the repository at this point in the history