Skip to content

Commit 5c8c2d4

Browse files
committed
Rename uop
1 parent 240f760 commit 5c8c2d4

File tree

6 files changed

+81
-81
lines changed

6 files changed

+81
-81
lines changed

Include/internal/pycore_uop_ids.h

Lines changed: 73 additions & 73 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: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/bytecodes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5373,7 +5373,7 @@ dummy_func(
53735373
GOTO_TIER_ONE(_PyFrame_GetBytecode(frame) + CURRENT_TARGET());
53745374
}
53755375

5376-
tier2 op(_PERIODIC, (--)) {
5376+
tier2 op(_HANDLE_PENDING_AND_DEOPT, (--)) {
53775377
int err = _Py_HandlePending(tstate);
53785378
GOTO_TIER_ONE(err ? NULL : _PyFrame_GetBytecode(frame) + CURRENT_TARGET());
53795379
}

Python/executor_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/optimizer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ prepare_for_execution(_PyUOpInstruction *buffer, int length)
10541054
exit_op = _DEOPT;
10551055
}
10561056
else if (exit_flags & HAS_PERIODIC_FLAG) {
1057-
exit_op = _PERIODIC;
1057+
exit_op = _HANDLE_PENDING_AND_DEOPT;
10581058
}
10591059
int32_t jump_target = target;
10601060
if (is_for_iter_test[opcode]) {
@@ -1169,7 +1169,7 @@ sanity_check(_PyExecutorObject *executor)
11691169
uint16_t opcode = inst->opcode;
11701170
CHECK(
11711171
opcode == _DEOPT ||
1172-
opcode == _PERIODIC ||
1172+
opcode == _HANDLE_PENDING_AND_DEOPT ||
11731173
opcode == _EXIT_TRACE ||
11741174
opcode == _ERROR_POP_N);
11751175
}

Python/optimizer_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)