diff options
author | Xuanteng Huang <44627253+xuantengh@users.noreply.github.com> | 2025-01-16 23:57:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-16 23:57:04 (GMT) |
commit | b44ff6d0df9ec2d60be63e5a106ca079464ece52 (patch) | |
tree | b05b6d496f282a9884f5ee327d5d522e9a06c712 /Python/bytecodes.c | |
parent | 27494dd9ad6032c29e273cd7f45c204c00d6512c (diff) | |
download | cpython-b44ff6d0df9ec2d60be63e5a106ca079464ece52.zip cpython-b44ff6d0df9ec2d60be63e5a106ca079464ece52.tar.gz cpython-b44ff6d0df9ec2d60be63e5a106ca079464ece52.tar.bz2 |
GH-126599: Remove the "counter" optimizer/executor (GH-126853)
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r-- | Python/bytecodes.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c index b1d61a8..c0ef767 100644 --- a/Python/bytecodes.c +++ b/Python/bytecodes.c @@ -5076,13 +5076,6 @@ dummy_func( DECREF_INPUTS(); } - /* Internal -- for testing executors */ - op(_INTERNAL_INCREMENT_OPT_COUNTER, (opt --)) { - _PyCounterOptimizerObject *exe = (_PyCounterOptimizerObject *)PyStackRef_AsPyObjectBorrow(opt); - exe->count++; - DEAD(opt); - } - tier2 op(_DYNAMIC_EXIT, (exit_p/4 --)) { tstate->previous_executor = (PyObject *)current_executor; _PyExitData *exit = (_PyExitData *)exit_p; |