Skip to content

GH-111485: Remove some special cases from the code generator and bytecodes.c#111540

Merged
markshannon merged 3 commits intopython:mainfrom
faster-cpython:make-tiers-explicit
Oct 31, 2023
Merged

GH-111485: Remove some special cases from the code generator and bytecodes.c#111540
markshannon merged 3 commits intopython:mainfrom
faster-cpython:make-tiers-explicit

Conversation

@markshannon
Copy link
Member

@markshannon markshannon commented Oct 31, 2023

  • Removes a bunch of special cases for tier-1-only instruction detection, making them explicit in bytecodes.c with TIER_ONE_ONLY.
  • Don't emit or check formats for psuedo-instructions. They don't exist in the bytecode, so don't have a format.
  • Make the counter in JUMP_BACKWARD explicit
  • Fix error handling in MAKE_CELL so it can be executed in tier 2.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants