Tidy up tier two
@brandtbucher y travaille déjà.
Depuis le 6/2/2025.
- Langage dominant
- Python
- Étoiles
- 77.2k
- Forks
- 35.9k
- Métriques de merge des PR
- Métriques de PR en attente
Description
Tier two has grown quite organically, and the two different implementations (the interpreter and JIT) have grown with it. In many places, we're repeating the same logic, or doing things in two or three different ways.
I'd like clean up tier two a bit, in the process making the tier two interpreter and JIT more similar. We enter the JIT by making a call, so I don't see a very compelling reason why the tier two interpreter needs to do anything different.
There are also some unused macros and labels lying around, and a few labels that are only used by one or two instructions. These can be cleaned up as well.
I'll start by generally tidying things up in one PR, then moving the tier two interpreter out into its own function in a follow-up PR.
Linked PRs
- gh-129710
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Évaluation
Cette issue n'a pas encore été évaluée.