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
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 3b2f692 commit 4a20869Copy full SHA for 4a20869
File tree
Expand file treeCollapse file tree
2 files changed
+10
-10
lines changedOpen diff view settings
Filter options
- deps/v8/src
Expand file treeCollapse file tree
2 files changed
+10
-10
lines changedOpen diff view settings
Collapse file
+9-9Lines changed: 9 additions & 9 deletions
| 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 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| 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