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

[interp] Fix GetFunctionPointer #13708

Merged
merged 1 commit into from Apr 4, 2019
Merged

Commits on Apr 2, 2019

  1. [interp] Fix GetFunctionPointer

    This method returns a function pointer that can be called with a calli instruction. On interpreter we use a pointer to InterpMethod while on jit we use the native code address. Normally, GetFunctionPointer should return the InterpMethod pointer if called from interp or the native code address if called from jit. Since we don't have any information about the execution engine of the caller, we solve this by intrinsifying all these calls, that happen in the interpreter.
    
    Passing such function pointers between jitted and interp code is probably still unreliable.
    
    Fixes mono#13654
    BrzVlad committed Apr 2, 2019
    Configuration menu
    Copy the full SHA
    b9fb268 View commit details
    Browse the repository at this point in the history