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

CFI: Abstract Closures and Coroutines #123106

Merged
merged 2 commits into from Mar 30, 2024
Merged

Commits on Mar 30, 2024

  1. Copy the full SHA
    e974570 View commit details
    Browse the repository at this point in the history
  2. CFI: Rewrite closure and coroutine instances to their trait method

    Similar to methods on a trait object, the most common way to indirectly
    call a closure or coroutine is through the vtable on the appropriate
    trait. This uses the same approach as we use for trait methods, after
    backing out the trait arguments from the type.
    maurer committed Mar 30, 2024
    Copy the full SHA
    8cc9a91 View commit details
    Browse the repository at this point in the history