Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Issue 1812793002: ES6: Object.setPrototypeOf(func, null) breaks instanceof (Closed)

Created:
4 years, 9 months ago by mvstanton
Modified:
4 years, 9 months ago
Reviewers:
rossberg
CC:
v8-reviews_googlegroups.com, oth, rmcilroy
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

ES6: Object.setPrototypeOf(func, null) breaks instanceof The way desugared instanceof called OrdinaryHasInstance if the lookup of @@hasInstance failed was incorrect. BUG=v8:4774 LOG=N Committed: https://crrev.com/d47a4063c05f2a24ec93ddc48c930e08a444c994 Cr-Commit-Position: refs/heads/master@{#34855}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -12 lines) Patch
M src/parsing/parser.cc View 5 chunks +23 lines, -8 lines 0 comments Download
M src/runtime/runtime.h View 2 chunks +1 line, -2 lines 0 comments Download
M src/runtime/runtime-internal.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M test/cctest/test-asm-validator.cc View 1 chunk +5 lines, -1 line 0 comments Download
M test/mjsunit/allocation-site-info.js View 2 chunks +7 lines, -0 lines 0 comments Download
M test/mjsunit/harmony/proxies.js View 1 chunk +13 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 9 (3 generated)
mvstanton
Hi Andreas, I have a fix for a bug in the ES6 instanceof support, can ...
4 years, 9 months ago (2016-03-17 08:55:14 UTC) #2
rossberg
As discussed offline, I don't think the intrinsic would have been necessary, since OrdinaryHasInstance is ...
4 years, 9 months ago (2016-03-17 12:29:54 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812793002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812793002/1
4 years, 9 months ago (2016-03-17 12:34:01 UTC) #5
mvstanton
Thanks very much! I confess to liking being able to call the function in the ...
4 years, 9 months ago (2016-03-17 12:36:14 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-17 12:40:09 UTC) #7
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 12:41:15 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d47a4063c05f2a24ec93ddc48c930e08a444c994
Cr-Commit-Position: refs/heads/master@{#34855}

Powered by Google App Engine
This is Rietveld 408576698