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

Cranelift: Traps need not be considered GC safepoints anymore #8810

Merged
merged 1 commit into from
Jun 14, 2024

Commits on Jun 14, 2024

  1. Cranelift: Traps need not be considered GC safepoints anymore

    After bytecodealliance#8809, the mutator cannot
    resume from a trap so we don't need to consider them safepoints, as no
    GC-managed references are live after the trap. The one exception being the
    `debugtrap` CLIF instruction, which is technically still a resumable trap, but
    which exists only for emitting the equivalent of an `int3` breakpoint
    instruction for pausing in a debugger to inspect state, and should never be used
    for mutator-collector interactions.
    fitzgen committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    ab7e9ab View commit details
    Browse the repository at this point in the history