Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 committed Sep 6, 2023
1 parent e051be1 commit 4a0be4d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Python/instrumentation.c
Original file line number Diff line number Diff line change
Expand Up @@ -1603,7 +1603,6 @@ _Py_Instrument(PyCodeObject *code, PyInterpreterState *interp)
return 0;
}
/* Insert instrumentation */
int code_len = (int)Py_SIZE(code);
for (int i = code->_co_firsttraceable; i < code_len; i+= _PyInstruction_GetLength(code, i)) {
_Py_CODEUNIT *instr = &_PyCode_CODE(code)[i];
CHECK(instr->op.code != 0);
Expand Down

0 comments on commit 4a0be4d

Please sign in to comment.