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

Store static initializers in metadata instead of the MIR of statics. #116564

Merged
merged 6 commits into from
Feb 15, 2024

Commits on Feb 15, 2024

  1. Add regression test

    amanjeev authored and oli-obk committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    ca109af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fc9d1a8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    95004e5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    be6ccf1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e238627 View commit details
    Browse the repository at this point in the history
  6. Do not allocate a second "background" alloc id for the main allocatio…

    …n of a static.
    
    Instead we re-use the static's alloc id within the interpreter for its initializer to refer to the `Allocation` that only exists within the interpreter.
    oli-obk committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    73b38c6 View commit details
    Browse the repository at this point in the history