Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace frame->prev_instr by frame->instr_ptr #109094

Closed
iritkatriel opened this issue Sep 7, 2023 · 0 comments
Closed

Replace frame->prev_instr by frame->instr_ptr #109094

iritkatriel opened this issue Sep 7, 2023 · 0 comments
Assignees
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@iritkatriel
Copy link
Member

iritkatriel commented Sep 7, 2023

frame->prev_instr has confusing semantics, we will replace it by a new field instr_ptr which is

(1) the instruction currently executing (if any), or
(2) the next instruction to execute on the frame (otherwise).

Linked PRs

@iritkatriel iritkatriel self-assigned this Sep 7, 2023
@iritkatriel iritkatriel added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Sep 7, 2023
Glyphack pushed a commit to Glyphack/cpython that referenced this issue Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)
Projects
None yet
Development

No branches or pull requests

1 participant