We are running out of space for specialized opcodes · Issue #130574 · python/cpython · GitHub
Skip to content

We are running out of space for specialized opcodes #130574

Description

@markshannon

The opcode space is laid out as follows:

  • Normal instructions
  • Gap (>30 instructions)
  • RESUME (opcode 149)
  • Specialized instructions
  • Gap (3 instructions)
  • Instrumented instruments

If we need to add four more specializations and/or instrumented instructions we will run out of space.
The fix is obvious: Renumber RESUME to something like 128.

Linked PRs

Activity

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

    3.14bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions