Skip to content

Optimized code paths in ceval / bytecodes need call trampolines for Emscripten #99460

Description

@hoodmane

Since #91318 the faster CPython folks have added a few more code paths where a METH_NOARGS or METH_O function may be called. These also need call trampolines for the same reason. For instance, the bitarray package when built for Emscripten will hit these code paths with oddly shaped functions causes indirect call signature mismatch errors.

Linked PRs

Activity

  1. added a commit that references this issue on Nov 15, 2022
  2. added a commit that references this issue on Nov 15, 2022
  3. gvanrossum commented on Nov 16, 2022

    @gvanrossum
    Member

    I'll leave it up to you to close this.

  4. added a commit that references this issue on Nov 16, 2022
  5. hoodmane commented on Nov 16, 2022

    @hoodmane
    ContributorAuthor

    Thanks @gvanrossum!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions