Commit dd97d0c
committed
Don't promote borrowed references in STORE_FAST
This reduces the number of changes to the interpreter loop and leaves
the various STORE_FAST instructions unmodified. It means that we cannot
optimize LOAD_FAST instructions that are consumed by STORE_FAST instructions,
but I think this is a net positive. It speeds up STORE_FAST and doesn't appreciably
reduce the number of optimized instructions in the benchmark suite.1 parent bf6222b commit dd97d0c
File tree
4 files changed
+33
-21
lines changed- Python
4 files changed
+33
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
| 342 | + | |
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
355 | | - | |
| 355 | + | |
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
| 369 | + | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2614 | 2614 | | |
2615 | 2615 | | |
2616 | 2616 | | |
2617 | | - | |
| 2617 | + | |
| 2618 | + | |
| 2619 | + | |
| 2620 | + | |
2618 | 2621 | | |
2619 | 2622 | | |
2620 | 2623 | | |
2621 | 2624 | | |
2622 | 2625 | | |
2623 | | - | |
| 2626 | + | |
| 2627 | + | |
| 2628 | + | |
| 2629 | + | |
2624 | 2630 | | |
2625 | 2631 | | |
2626 | 2632 | | |
2627 | 2633 | | |
2628 | 2634 | | |
2629 | 2635 | | |
2630 | 2636 | | |
2631 | | - | |
2632 | | - | |
| 2637 | + | |
| 2638 | + | |
| 2639 | + | |
| 2640 | + | |
| 2641 | + | |
| 2642 | + | |
| 2643 | + | |
| 2644 | + | |
2633 | 2645 | | |
2634 | 2646 | | |
2635 | 2647 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments