Commit 3b7a93b
Light up to emit eager imports on meta Python
Summary: Currently on 3.14 we don't ever emit `EAGER_IMPORT_NAME`. This changes us to check if the opcode is defined by the interpreter and emit it only in that case. That way we'll work on stock CPython or meta-Python.
Reviewed By: alexmalyshev
Differential Revision: D83846390
fbshipit-source-id: d83e474d4f838c1902f556e80961f6f5190574701 parent ef9ff51 commit 3b7a93b
2 files changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
307 | 308 | | |
308 | 309 | | |
309 | 310 | | |
| |||
545 | 546 | | |
546 | 547 | | |
547 | 548 | | |
| 549 | + | |
548 | 550 | | |
549 | 551 | | |
550 | 552 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
3897 | 3898 | | |
3898 | 3899 | | |
3899 | 3900 | | |
3900 | | - | |
| 3901 | + | |
| 3902 | + | |
| 3903 | + | |
| 3904 | + | |
| 3905 | + | |
3901 | 3906 | | |
3902 | 3907 | | |
3903 | 3908 | | |
| |||
6359 | 6364 | | |
6360 | 6365 | | |
6361 | 6366 | | |
6362 | | - | |
6363 | | - | |
6364 | | - | |
6365 | 6367 | | |
6366 | 6368 | | |
6367 | 6369 | | |
| |||
0 commit comments