|
1 | | -def __top_level__(): |
2 | | - r0, r1 :: object |
3 | | - r2 :: bit |
4 | | - r3 :: str |
5 | | - r4, r5, r6 :: object |
6 | | - r7 :: str |
7 | | - r8 :: dict |
8 | | - r9, r10 :: object |
9 | | - r11 :: str |
10 | | - r12 :: dict |
11 | | - r13 :: object |
12 | | - r14 :: str |
13 | | - r15 :: list |
14 | | - r16, r17 :: ptr |
15 | | - r18 :: dict |
16 | | - r19 :: str |
17 | | - r20 :: i32 |
18 | | - r21 :: bit |
19 | | - r22 :: str |
20 | | - r23 :: dict |
21 | | - r24 :: str |
22 | | - r25 :: object |
23 | | - r26 :: object[1] |
24 | | - r27 :: object_ptr |
25 | | - r28 :: object |
26 | | - r29 :: str |
27 | | - r30 :: dict |
28 | | - r31 :: str |
29 | | - r32 :: i32 |
30 | | - r33 :: bit |
31 | | - r34 :: None |
32 | | -L0: |
33 | | - r0 = builtins :: module |
34 | | - r1 = load_address _Py_NoneStruct |
35 | | - r2 = r0 != r1 |
36 | | - if r2 goto L3 else goto L1 :: bool |
37 | | -L1: |
38 | | - r3 = 'builtins' |
39 | | - r4 = PyImport_Import(r3) |
40 | | - if is_error(r4) goto L12 (error at <module>:-1) else goto L2 |
41 | | -L2: |
42 | | - builtins = r4 :: module |
43 | | - dec_ref r4 |
44 | | -L3: |
45 | | - r5 = ('version',) |
46 | | - r6 = ('__version',) |
47 | | - r7 = 'importlib.metadata' |
48 | | - r8 = faster_hexbytes.globals :: static |
49 | | - r9 = CPyImport_ImportFromMany(r7, r5, r6, r8) |
50 | | - if is_error(r9) goto L12 (error at <module>:1) else goto L4 |
51 | | -L4: |
52 | | - importlib.metadata = r9 :: module |
53 | | - dec_ref r9 |
54 | | - r10 = ('HexBytes',) |
55 | | - r11 = 'faster_hexbytes.main' |
56 | | - r12 = faster_hexbytes.globals :: static |
57 | | - r13 = CPyImport_ImportFromMany(r11, r10, r10, r12) |
58 | | - if is_error(r13) goto L12 (error at <module>:5) else goto L5 |
59 | | -L5: |
60 | | - faster_hexbytes.main = r13 :: module |
61 | | - dec_ref r13 |
62 | | - r14 = 'HexBytes' |
63 | | - r15 = PyList_New(1) |
64 | | - if is_error(r15) goto L12 (error at <module>:9) else goto L6 |
65 | | -L6: |
66 | | - r16 = get_element_ptr r15 ob_item :: PyListObject |
67 | | - r17 = load_mem r16 :: ptr* |
68 | | - inc_ref r14 |
69 | | - set_mem r17, r14 :: builtins.object* |
70 | | - r18 = faster_hexbytes.globals :: static |
71 | | - r19 = '__all__' |
72 | | - r20 = CPyDict_SetItem(r18, r19, r15) |
73 | | - dec_ref r15 |
74 | | - r21 = r20 >= 0 :: signed |
75 | | - if not r21 goto L12 (error at <module>:9) else goto L7 :: bool |
76 | | -L7: |
77 | | - r22 = 'hexbytes' |
78 | | - r23 = faster_hexbytes.globals :: static |
79 | | - r24 = '__version' |
80 | | - r25 = CPyDict_GetItem(r23, r24) |
81 | | - if is_error(r25) goto L12 (error at <module>:11) else goto L8 |
82 | | -L8: |
83 | | - r26 = [r22] |
84 | | - r27 = load_address r26 |
85 | | - r28 = PyObject_Vectorcall(r25, r27, 1, 0) |
86 | | - dec_ref r25 |
87 | | - if is_error(r28) goto L12 (error at <module>:11) else goto L9 |
88 | | -L9: |
89 | | - r29 = cast(str, r28) |
90 | | - if is_error(r29) goto L12 (error at <module>:11) else goto L10 |
91 | | -L10: |
92 | | - r30 = faster_hexbytes.globals :: static |
93 | | - r31 = '__version__' |
94 | | - r32 = CPyDict_SetItem(r30, r31, r29) |
95 | | - dec_ref r29 |
96 | | - r33 = r32 >= 0 :: signed |
97 | | - if not r33 goto L12 (error at <module>:11) else goto L11 :: bool |
98 | | -L11: |
99 | | - return 1 |
100 | | -L12: |
101 | | - r34 = <error> :: None |
102 | | - return r34 |
103 | | - |
104 | 1 | def __new___HexBytes_obj.__get__(__mypyc_self__, instance, owner): |
105 | 2 | __mypyc_self__, instance, owner, r0 :: object |
106 | 3 | r1 :: bit |
@@ -1464,3 +1361,106 @@ L7: |
1464 | 1361 | L8: |
1465 | 1362 | r26 = <error> :: None |
1466 | 1363 | return r26 |
| 1364 | + |
| 1365 | +def __top_level__(): |
| 1366 | + r0, r1 :: object |
| 1367 | + r2 :: bit |
| 1368 | + r3 :: str |
| 1369 | + r4, r5, r6 :: object |
| 1370 | + r7 :: str |
| 1371 | + r8 :: dict |
| 1372 | + r9, r10 :: object |
| 1373 | + r11 :: str |
| 1374 | + r12 :: dict |
| 1375 | + r13 :: object |
| 1376 | + r14 :: str |
| 1377 | + r15 :: list |
| 1378 | + r16, r17 :: ptr |
| 1379 | + r18 :: dict |
| 1380 | + r19 :: str |
| 1381 | + r20 :: i32 |
| 1382 | + r21 :: bit |
| 1383 | + r22 :: str |
| 1384 | + r23 :: dict |
| 1385 | + r24 :: str |
| 1386 | + r25 :: object |
| 1387 | + r26 :: object[1] |
| 1388 | + r27 :: object_ptr |
| 1389 | + r28 :: object |
| 1390 | + r29 :: str |
| 1391 | + r30 :: dict |
| 1392 | + r31 :: str |
| 1393 | + r32 :: i32 |
| 1394 | + r33 :: bit |
| 1395 | + r34 :: None |
| 1396 | +L0: |
| 1397 | + r0 = builtins :: module |
| 1398 | + r1 = load_address _Py_NoneStruct |
| 1399 | + r2 = r0 != r1 |
| 1400 | + if r2 goto L3 else goto L1 :: bool |
| 1401 | +L1: |
| 1402 | + r3 = 'builtins' |
| 1403 | + r4 = PyImport_Import(r3) |
| 1404 | + if is_error(r4) goto L12 (error at <module>:-1) else goto L2 |
| 1405 | +L2: |
| 1406 | + builtins = r4 :: module |
| 1407 | + dec_ref r4 |
| 1408 | +L3: |
| 1409 | + r5 = ('version',) |
| 1410 | + r6 = ('__version',) |
| 1411 | + r7 = 'importlib.metadata' |
| 1412 | + r8 = faster_hexbytes.globals :: static |
| 1413 | + r9 = CPyImport_ImportFromMany(r7, r5, r6, r8) |
| 1414 | + if is_error(r9) goto L12 (error at <module>:1) else goto L4 |
| 1415 | +L4: |
| 1416 | + importlib.metadata = r9 :: module |
| 1417 | + dec_ref r9 |
| 1418 | + r10 = ('HexBytes',) |
| 1419 | + r11 = 'faster_hexbytes.main' |
| 1420 | + r12 = faster_hexbytes.globals :: static |
| 1421 | + r13 = CPyImport_ImportFromMany(r11, r10, r10, r12) |
| 1422 | + if is_error(r13) goto L12 (error at <module>:5) else goto L5 |
| 1423 | +L5: |
| 1424 | + faster_hexbytes.main = r13 :: module |
| 1425 | + dec_ref r13 |
| 1426 | + r14 = 'HexBytes' |
| 1427 | + r15 = PyList_New(1) |
| 1428 | + if is_error(r15) goto L12 (error at <module>:9) else goto L6 |
| 1429 | +L6: |
| 1430 | + r16 = get_element_ptr r15 ob_item :: PyListObject |
| 1431 | + r17 = load_mem r16 :: ptr* |
| 1432 | + inc_ref r14 |
| 1433 | + set_mem r17, r14 :: builtins.object* |
| 1434 | + r18 = faster_hexbytes.globals :: static |
| 1435 | + r19 = '__all__' |
| 1436 | + r20 = CPyDict_SetItem(r18, r19, r15) |
| 1437 | + dec_ref r15 |
| 1438 | + r21 = r20 >= 0 :: signed |
| 1439 | + if not r21 goto L12 (error at <module>:9) else goto L7 :: bool |
| 1440 | +L7: |
| 1441 | + r22 = 'hexbytes' |
| 1442 | + r23 = faster_hexbytes.globals :: static |
| 1443 | + r24 = '__version' |
| 1444 | + r25 = CPyDict_GetItem(r23, r24) |
| 1445 | + if is_error(r25) goto L12 (error at <module>:11) else goto L8 |
| 1446 | +L8: |
| 1447 | + r26 = [r22] |
| 1448 | + r27 = load_address r26 |
| 1449 | + r28 = PyObject_Vectorcall(r25, r27, 1, 0) |
| 1450 | + dec_ref r25 |
| 1451 | + if is_error(r28) goto L12 (error at <module>:11) else goto L9 |
| 1452 | +L9: |
| 1453 | + r29 = cast(str, r28) |
| 1454 | + if is_error(r29) goto L12 (error at <module>:11) else goto L10 |
| 1455 | +L10: |
| 1456 | + r30 = faster_hexbytes.globals :: static |
| 1457 | + r31 = '__version__' |
| 1458 | + r32 = CPyDict_SetItem(r30, r31, r29) |
| 1459 | + dec_ref r29 |
| 1460 | + r33 = r32 >= 0 :: signed |
| 1461 | + if not r33 goto L12 (error at <module>:11) else goto L11 :: bool |
| 1462 | +L11: |
| 1463 | + return 1 |
| 1464 | +L12: |
| 1465 | + r34 = <error> :: None |
| 1466 | + return r34 |
0 commit comments