bpo-44878: Remove the switch from the main interpreter loop when using computed gotos. (GH-27726)

* Refactor dispatch logic to make flow of control clearer. Moves lltrace and dxprofile instrumentation into DISPATCH macro.

* Remove switch in interpreter loop when using computed gotos. There is no need for two nearly-duplicate dispatch tables.
This commit is contained in:
Mark Shannon 2021-08-11 14:02:11 +01:00 committed by GitHub
parent 3f3d5dcac3
commit f66d00fdd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 208 additions and 177 deletions

View file

@ -0,0 +1,2 @@
Remove switch statement for interpreter loop when using computed gotos. This
makes sure that we only have one dispatch table in the interpreter.

File diff suppressed because it is too large Load diff