Skip to content

Commit 0cef066

Browse files
Rename to _QUICKEN, remove recursion limit set
1 parent 2e9b980 commit 0cef066

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

Lib/test/test_capi/test_opt.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@ def testfunc(x):
328328
return 1
329329
return testfunc(x-1)
330330

331-
sys.setrecursionlimit(TIER2_RESUME_THRESHOLD * 2)
332331
for _ in range((TIER2_RESUME_THRESHOLD + 99)//100):
333332
testfunc(101)
334333

Modules/_testinternalcapi/test_cases.c.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/bytecodes.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ dummy_func(
172172
}
173173
}
174174

175-
specializing op(_SPECIALIZE_RESUME, (counter/1 --)) {
175+
tier1 op(_QUICKEN_RESUME, (counter/1 --)) {
176176
_Py_Specialize_Resume(this_instr, tstate);
177177
}
178178

@@ -220,7 +220,7 @@ dummy_func(
220220
macro(RESUME) =
221221
_LOAD_BYTECODE +
222222
_MAYBE_INSTRUMENT +
223-
_SPECIALIZE_RESUME +
223+
_QUICKEN_RESUME +
224224
_CHECK_PERIODIC_IF_NOT_YIELD_FROM;
225225

226226
macro(RESUME_CHECK) =

Python/generated_cases.c.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)