deps: cherry-pick 5b5d24b for X87 from V8 upstream
Original commit message:
port 2aa070b (r34863)
original commit message:
Repair this to match what the runtime correctly does,
by first checking if the function is a constructor
before we access the prototype.
BUG=
Review URL: https://codereview.chromium.org/1809333002
Cr-Commit-Position: refs/heads/master@{#34880}
Fixes: https://github.com/nodejs/node/issues/7592 for X87
PR-URL: https://github.com/nodejs/node/pull/7638
Reviewed-By:
Anna Henningsen <anna@addaleax.net>
Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By:
Ali Ijaz Sheikh <ofrobots@google.com>
parent
e5cce7ac
Please register or sign in to comment