Skip to content

Commit 21b419e

Browse files
author
Johan Dahlin
committed
Regenerate test against HEAD
1 parent 70c8cd5 commit 21b419e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

mypyc/test-data/irbuild-tuple.test

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ L2:
193193
r4 = CPySequenceTuple_GetItem(nt, r3)
194194
r5 = unbox(int, r4)
195195
return r5
196+
197+
196198
[case testTupleOperatorIn]
197199
def f(i: int) -> bool:
198200
return i in [1, 2, 3]
@@ -208,14 +210,14 @@ def f(i):
208210
r7 :: bool
209211
L0:
210212
r2 = 1
211-
r3 = i == r2 :: int
213+
r3 = CPyTagged_IsEq(i, r2)
212214
if r3 goto L1 else goto L2 :: bool
213215
L1:
214216
r1 = r3
215217
goto L3
216218
L2:
217219
r4 = 2
218-
r5 = i == r4 :: int
220+
r5 = CPyTagged_IsEq(i, r4)
219221
r1 = r5
220222
L3:
221223
if r1 goto L4 else goto L5 :: bool
@@ -224,7 +226,7 @@ L4:
224226
goto L6
225227
L5:
226228
r6 = 3
227-
r7 = i == r6 :: int
229+
r7 = CPyTagged_IsEq(i, r6)
228230
r0 = r7
229231
L6:
230-
return r0
232+
return r0

0 commit comments

Comments
 (0)