Commit afc1884
[turboshaft] Fix wrong constant folding of strings map loads
is_stable should only be used on non-primitive maps. Strings can
change maps despite their maps being "stable".
Bug: chromium:1518396
Change-Id: I3bcb33223f6d08df30d97da6eca2b06efb052960
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5217051
Auto-Submit: Darius Mercadier <[email protected]>
Reviewed-by: Toon Verwaest <[email protected]>
Commit-Queue: Darius Mercadier <[email protected]>
Cr-Commit-Position: refs/heads/main@{#91942}1 parent 422b38c commit afc1884
File tree
2 files changed
+45
-2
lines changed- src/compiler/turboshaft
- test/mjsunit/compiler
2 files changed
+45
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1790 | 1790 | | |
1791 | 1791 | | |
1792 | 1792 | | |
1793 | | - | |
1794 | | - | |
| 1793 | + | |
1795 | 1794 | | |
1796 | 1795 | | |
1797 | 1796 | | |
| |||
2399 | 2398 | | |
2400 | 2399 | | |
2401 | 2400 | | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
| 2404 | + | |
| 2405 | + | |
| 2406 | + | |
| 2407 | + | |
| 2408 | + | |
| 2409 | + | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
| 2415 | + | |
| 2416 | + | |
| 2417 | + | |
| 2418 | + | |
| 2419 | + | |
| 2420 | + | |
| 2421 | + | |
2402 | 2422 | | |
2403 | 2423 | | |
2404 | 2424 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments