Skip to content

Commit f66d00f

Browse files
authored
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.
1 parent 3f3d5dc commit f66d00f

File tree

2 files changed

+208
-177
lines changed

2 files changed

+208
-177
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Remove switch statement for interpreter loop when using computed gotos. This
2+
makes sure that we only have one dispatch table in the interpreter.

0 commit comments

Comments
 (0)