Skip to content

Commit a4b740d

Browse files
committed
Fix tier 2 FT build
1 parent 6c955e0 commit a4b740d

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

Include/internal/pycore_uop_metadata.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/bytecodes.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3262,13 +3262,7 @@ dummy_func(
32623262
int result = _PyList_GetItemRefNoLock((PyListObject *)list_o, PyStackRef_UntagInt(null_or_index), &next);
32633263
// A negative result means we lost a race with another thread
32643264
// and we need to take the slow path.
3265-
DEOPT_IF(result < 0);
3266-
if (result == 0) {
3267-
null_or_index = PyStackRef_TagInt(-1);
3268-
/* Jump forward oparg, then skip following END_FOR instruction */
3269-
JUMPBY(oparg + 1);
3270-
DISPATCH();
3271-
}
3265+
DEOPT_IF(result <= 0);
32723266
#else
32733267
assert(PyStackRef_UntagInt(null_or_index) < PyList_GET_SIZE(list_o));
32743268
next = PyStackRef_FromPyObjectNew(PyList_GET_ITEM(list_o, PyStackRef_UntagInt(null_or_index)));

Python/executor_cases.c.h

Lines changed: 1 addition & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)