Commit 428edf1
committed
ZJIT: Avoid
The true purpose of assume_no_singleton_classes() is to retain soundness
in event of the effective class of values changing. When the effective
class is already a singleton class that can never happen. (Except due to
IO#reopen, but that's out of scope for now.)
This deletes the patchpoint for calls on `main` that happens a lot in
tests.NoSingletonClass patchpoint when already a singleton class1 parent 5001c19 commit 428edf1
4 files changed
Lines changed: 170 additions & 221 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
495 | 500 | | |
496 | 501 | | |
497 | 502 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2511 | 2511 | | |
2512 | 2512 | | |
2513 | 2513 | | |
| 2514 | + | |
| 2515 | + | |
| 2516 | + | |
| 2517 | + | |
| 2518 | + | |
2514 | 2519 | | |
2515 | 2520 | | |
2516 | 2521 | | |
| |||
0 commit comments