Commit e6887e2
deps: cherry-pick a76d133 from v8 upstream
Original commit message:
Fix incorrect parameter to HasSufficientCapacity
It takes the number of additional elements, not the total target
capacity.
Also, avoid right-shifting a negative integer as this is undefined in
general
BUG=v8:4909
R=verwaest@chromium.org
Review-Url: https://codereview.chromium.org/2162333002
Cr-Commit-Position: refs/heads/master@{#37901}
Fixes: #6180
PR-URL: #7689
Reviewed-By: Matt Loring <mattloring@google.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>1 parent a03e3d3 commit e6887e2
2 files changed
+10
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17437 | 17437 | | |
17438 | 17438 | | |
17439 | 17439 | | |
17440 | | - | |
| 17440 | + | |
17441 | 17441 | | |
17442 | 17442 | | |
17443 | 17443 | | |
| |||
17453 | 17453 | | |
17454 | 17454 | | |
17455 | 17455 | | |
17456 | | - | |
17457 | 17456 | | |
17458 | | - | |
| 17457 | + | |
| 17458 | + | |
17459 | 17459 | | |
17460 | | - | |
| 17460 | + | |
17461 | 17461 | | |
17462 | 17462 | | |
17463 | | - | |
| 17463 | + | |
17464 | 17464 | | |
17465 | | - | |
| 17465 | + | |
17466 | 17466 | | |
17467 | 17467 | | |
17468 | 17468 | | |
| |||
18378 | 18378 | | |
18379 | 18379 | | |
18380 | 18380 | | |
18381 | | - | |
| 18381 | + | |
18382 | 18382 | | |
18383 | 18383 | | |
18384 | 18384 | | |
| |||
18791 | 18791 | | |
18792 | 18792 | | |
18793 | 18793 | | |
18794 | | - | |
18795 | | - | |
| 18794 | + | |
| 18795 | + | |
18796 | 18796 | | |
18797 | 18797 | | |
18798 | 18798 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3307 | 3307 | | |
3308 | 3308 | | |
3309 | 3309 | | |
3310 | | - | |
| 3310 | + | |
3311 | 3311 | | |
3312 | 3312 | | |
3313 | 3313 | | |
| |||
0 commit comments