Commit 2870061
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: #7592 for X87
PR-URL: #7638
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>1 parent e5cce7a commit 2870061Copy full SHA for 2870061
File tree
Expand file treeCollapse file tree
1 file changed
+5
-0
lines changedOpen diff view settings
Filter options
- deps/v8/src/x87
Expand file treeCollapse file tree
1 file changed
+5
-0
lines changedOpen diff view settings
Collapse file
deps/v8/src/x87/code-stubs-x87.cc
Copy file name to clipboardExpand all lines: deps/v8/src/x87/code-stubs-x87.cc+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1835 | 1835 | |
1836 | 1836 | |
1837 | 1837 | |
| 1838 | + |
| 1839 | + |
| 1840 | + |
| 1841 | + |
| 1842 | + |
1838 | 1843 | |
1839 | 1844 | |
1840 | 1845 | |
|
0 commit comments