GH-128375: Better instrument for `FOR_ITER` (GH-128445) · python/cpython@f826bec

GitHub

Original file line numberDiff line numberDiff line change@@ -48,8 +48,8 @@ _Py_call_instrumentation_instruction(

48484949_Py_CODEUNIT*

5050_Py_call_instrumentation_jump(

51-PyThreadState*tstate, intevent,

52-_PyInterpreterFrame*frame, _Py_CODEUNIT*instr, _Py_CODEUNIT*target);

51+_Py_CODEUNIT*instr, PyThreadState*tstate, intevent,

52+_PyInterpreterFrame*frame, _Py_CODEUNIT*src, _Py_CODEUNIT*dest);

53535454externint

5555_Py_call_instrumentation_arg(PyThreadState*tstate, intevent,