8000 use instr_ptr in _PyFrame_IsIncomplete · python/cpython@1ceeba1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1ceeba1

Browse files
committed
use instr_ptr in _PyFrame_IsIncomplete
1 parent b6a8b0c commit 1ceeba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_frame.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ _PyFrame_IsIncomplete(_PyInterpreterFrame *frame)
188188
return true;
189189
}
190190
return frame->owner != FRAME_OWNED_BY_GENERATOR &&
191-
frame->prev_instr < _PyCode_CODE(_PyFrame_GetCode(frame)) + _PyFrame_GetCode(frame)->_co_firsttraceable;
191+
frame->instr_ptr < _PyCode_CODE(_PyFrame_GetCode(frame)) + _PyFrame_GetCode(frame)->_co_firsttraceable;
192192
}
193193

194194
static inline _PyInterpreterFrame *

0 commit comments

Comments
 (0)
0