Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 committed Sep 1, 2023
1 parent 1199dfe commit 1232432
Showing 1 changed file with 1 addition and 3 deletions.
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

0 comments on commit 1232432

Please sign in to comment.