Skip to content

We are running out of space for specialized opcodes #130574

Closed
@markshannon

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

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