Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update
  • Loading branch information
corona10 committed Sep 1, 2023
commit 12324329f5fc8cc74a80134ca28ad7297357c989
4 changes: 1 addition & 3 deletions Python/instrumentation.c
Original file line number Diff line number Diff line change
Expand Up @@ -1586,9 +1586,7 @@ _Py_Instrument(PyCodeObject *code, PyInterpreterState *interp)
_Py_CODEUNIT *instr = &_PyCode_CODE(code)[i];
CHECK(instr->op.code != 0);
int base_opcode = _Py_GetBaseOpcode(code, i);
if (base_opcode == ENTER_EXECUTOR) {
return -1;
}
assert(base_opcode != ENTER_EXECUTOR);
if (opcode_has_event(base_opcode)) {
int8_t event;
if (base_opcode == RESUME) {
Expand Down