Commit ba1b2cc
[compiler] Fix a bug in SimplifiedLowering
SL's VisitSpeculativeIntegerAdditiveOp was setting Signed32 as
restriction type even when relying on a Word32 truncation in order to
skip the overflow check. This is not sound.
Bug: chromium:1150649
Change-Id: I3113a2102c62d6ecef342c98d25daf31431c01ed
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2557498
Reviewed-by: Tobias Tebbi <[email protected]>
Reviewed-by: Nico Hartmann <[email protected]>
Commit-Queue: Georg Neis <[email protected]>
Cr-Commit-Position: refs/heads/master@{#71364}1 parent 1a37d56 commit ba1b2cc
2 files changed
Lines changed: 34 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1409 | 1409 | | |
1410 | 1410 | | |
1411 | 1411 | | |
1412 | | - | |
1413 | 1412 | | |
1414 | 1413 | | |
1415 | 1414 | | |
| |||
1453 | 1452 | | |
1454 | 1453 | | |
1455 | 1454 | | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
1456 | 1462 | | |
1457 | 1463 | | |
1458 | 1464 | | |
| |||
1466 | 1472 | | |
1467 | 1473 | | |
1468 | 1474 | | |
1469 | | - | |
| 1475 | + | |
1470 | 1476 | | |
1471 | 1477 | | |
1472 | 1478 | | |
| |||
1486 | 1492 | | |
1487 | 1493 | | |
1488 | 1494 | | |
1489 | | - | |
| 1495 | + | |
1490 | 1496 | | |
| 1497 | + | |
1491 | 1498 | | |
1492 | 1499 | | |
1493 | 1500 | | |
| |||
| 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 | + | |
| 24 | + | |
0 commit comments