Commit 4a20869
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
[email protected]
Review-Url: https://codereview.chromium.org/2162333002
Cr-Commit-Position: refs/heads/master@{#37901}
Fixes: #6180
PR-URL: #7689
Reviewed-By: Matt Loring <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>1 parent 3b2f692 commit 4a20869
2 files changed
+10
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17389 | 17389 | | |
17390 | 17390 | | |
17391 | 17391 | | |
17392 | | - | |
| 17392 | + | |
17393 | 17393 | | |
17394 | 17394 | | |
17395 | 17395 | | |
| |||
17405 | 17405 | | |
17406 | 17406 | | |
17407 | 17407 | | |
17408 | | - | |
17409 | 17408 | | |
17410 | | - | |
| 17409 | + | |
| 17410 | + | |
17411 | 17411 | | |
17412 | | - | |
| 17412 | + | |
17413 | 17413 | | |
17414 | 17414 | | |
17415 | | - | |
| 17415 | + | |
17416 | 17416 | | |
17417 | | - | |
| 17417 | + | |
17418 | 17418 | | |
17419 | 17419 | | |
17420 | 17420 | | |
| |||
18332 | 18332 | | |
18333 | 18333 | | |
18334 | 18334 | | |
18335 | | - | |
| 18335 | + | |
18336 | 18336 | | |
18337 | 18337 | | |
18338 | 18338 | | |
| |||
18742 | 18742 | | |
18743 | 18743 | | |
18744 | 18744 | | |
18745 | | - | |
18746 | | - | |
| 18745 | + | |
| 18746 | + | |
18747 | 18747 | | |
18748 | 18748 | | |
18749 | 18749 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3331 | 3331 | | |
3332 | 3332 | | |
3333 | 3333 | | |
3334 | | - | |
| 3334 | + | |
3335 | 3335 | | |
3336 | 3336 | | |
3337 | 3337 | | |
| |||
0 commit comments