Skip to content

Commit 025049d

Browse files
committed
Fix tier 2 FT build
1 parent 88562ec commit 025049d

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
@@ -3268,13 +3268,7 @@ dummy_func(
32683268
int result = _PyList_GetItemRefNoLock((PyListObject *)list_o, PyStackRef_UntagInt(null_or_index), &next);
32693269
// A negative result means we lost a race with another thread
32703270
// and we need to take the slow path.
3271-
DEOPT_IF(result < 0);
3272-
if (result == 0) {
3273-
null_or_index = PyStackRef_TagInt(-1);
3274-
/* Jump forward oparg, then skip following END_FOR instruction */
3275-
JUMPBY(oparg + 1);
3276-
DISPATCH();
3277-
}
3271+
DEOPT_IF(result <= 0);
32783272
#else
32793273
assert(PyStackRef_UntagInt(null_or_index) < PyList_GET_SIZE(list_o));
32803274
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)