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] break up MINT_LDSTR_TOKEN into two opcodes #88738

Merged
merged 1 commit into from
Jul 12, 2023

Commits on Jul 12, 2023

  1. [interp] break up MINT_LDSTR_TOKEN into two opcodes

    MINT_LDSTR_DYNAMIC for dynamic methods.  the data item is an index
    into the DynamicMethod:method.method_data which stores pointers to
    MonoString objects that are held by the managed DynamicMethod.
    
    MINT_LDSTR_CSTR for ilgen wrappers. the data item is a raw C string
    that is global, or was allocated by malloc
    
    Fixes dotnet#88694 by allowing
    MINT_LDSTR_CSTR in any method since we no longer depend on
    mono_method_get_wrapper_data at execution time.  And at transform time
    we have access to the actual wrapper method.
    lambdageek committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    d0e98e0 View commit details
    Browse the repository at this point in the history