◐ Shell
reader mode source ↗
Skip to content

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

Merged
markshannon merged 3 commits into
python: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 into
python:mainfrom
faster-cpython:make-tiers-explicit

Conversation

@markshannon

@markshannon markshannon commented Oct 31, 2023

Copy link
Copy Markdown
Member
  • 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.

@bedevere-app bedevere-app Bot added awaiting merge and removed labels Oct 31, 2023
@markshannon markshannon changed the title Remove some special cases from the code generator and bytecodes.c Oct 31, 2023
@markshannon markshannon merged commit 2904d99 into python:main Oct 31, 2023
FullteaR pushed a commit to FullteaR/cpython that referenced this pull request Nov 3, 2023
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
@markshannon markshannon deleted the make-tiers-explicit branch August 6, 2024 10:17
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
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