Skip to content

Commit 0a0a496

Browse files
Address review
1 parent 2d88db8 commit 0a0a496

File tree

5 files changed

+32
-13
lines changed

5 files changed

+32
-13
lines changed

Include/internal/pycore_opcode_metadata.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Include/internal/pycore_uop_metadata.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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3756,7 +3756,6 @@ dummy_func(
37563756
macro(INSTRUMENTED_CALL) = unused/3 + _MAYBE_EXPAND_METHOD + _MONITOR_CALL + _DO_CALL + _CHECK_PERIODIC;
37573757

37583758
op(_PY_FRAME_GENERAL, (callable, self_or_null, args[oparg] -- new_frame: _PyInterpreterFrame*)) {
3759-
DEOPT_IF(tstate->py_recursion_remaining <= 1);
37603759
PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
37613760

37623761
// oparg counts all of the args, but *not* self:
@@ -3798,6 +3797,7 @@ dummy_func(
37983797
unused/1 + // Skip over the counter
37993798
_CHECK_PEP_523 +
38003799
_CHECK_FUNCTION_VERSION +
3800+
_CHECK_STACK_SPACE +
38013801
_PY_FRAME_GENERAL +
38023802
_SAVE_RETURN_OFFSET +
38033803
_PUSH_FRAME;
@@ -3829,6 +3829,7 @@ dummy_func(
38293829
_CHECK_METHOD_VERSION +
38303830
_EXPAND_METHOD +
38313831
flush + // so that self is in the argument array
3832+
_CHECK_STACK_SPACE +
38323833
_PY_FRAME_GENERAL +
38333834
_SAVE_RETURN_OFFSET +
38343835
_PUSH_FRAME;

Python/executor_cases.c.h

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/generated_cases.c.h

Lines changed: 27 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)