deps: cherry-pick a76d133 from v8 upstream · nodejs/node@e22ffef · GitHub
Skip to content

Commit e22ffef

Browse files
author
Matt Loring
committed
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 a3d62bd commit e22ffef

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

deps/v8/src/objects.cc

Lines changed: 9 additions & 9 deletions

deps/v8/src/objects.h

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)