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

Issue 141913002: ES6: Implement Object.setPrototypeOf (Closed)

Created:
6 years, 11 months ago by arv (Not doing code reviews)
Modified:
6 years, 11 months ago
CC:
v8-dev
Visibility:
Public.

Description

ES6: Implement Object.setPrototypeOf http://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.setprototypeof This just exposes the internal %SetPrototype and adds all the required type checks as specified. BUG=v8:2675 LOG=Y R=dslomov@chromium.org, rossberg@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=18685

Patch Set 1 #

Total comments: 4

Patch Set 2 : Whitespace formatting #

Patch Set 3 : Add macro and add lookup test #

Patch Set 4 : Add macro and add lookup test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -81 lines) Patch
M src/macros.py View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/messages.js View 1 chunk +1 line, -1 line 0 comments Download
M src/string.js View 1 2 14 chunks +40 lines, -80 lines 0 comments Download
M src/v8natives.js View 1 2 2 chunks +16 lines, -0 lines 0 comments Download
A test/mjsunit/set-prototype-of.js View 1 2 1 chunk +170 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
arv (Not doing code reviews)
https://codereview.chromium.org/141913002/diff/1/src/v8natives.js File src/v8natives.js (right): https://codereview.chromium.org/141913002/diff/1/src/v8natives.js#newcode1020 src/v8natives.js:1020: if (IS_NULL_OR_UNDEFINED(obj) && !IS_UNDETECTABLE(obj)) { The ES6 spec uses ...
6 years, 11 months ago (2014-01-17 17:43:22 UTC) #1
andrea.giammarchi
Just as "heads up" in case you missed it, I think in line 406 of ...
6 years, 11 months ago (2014-01-17 18:02:43 UTC) #2
arv (Not doing code reviews)
On 2014/01/17 18:02:43, andrea.giammarchi wrote: > Just as "heads up" in case you missed it, ...
6 years, 11 months ago (2014-01-17 18:06:38 UTC) #3
Dmitry Lomov (no reviews)
Looking good, just agreed with your new macro idea + asking for a bit more ...
6 years, 11 months ago (2014-01-17 20:17:36 UTC) #4
arv (Not doing code reviews)
I added a macro and expanded the tests. PTAL https://codereview.chromium.org/141913002/diff/1/test/mjsunit/set-prototype-of.js File test/mjsunit/set-prototype-of.js (right): https://codereview.chromium.org/141913002/diff/1/test/mjsunit/set-prototype-of.js#newcode31 test/mjsunit/set-prototype-of.js:31: ...
6 years, 11 months ago (2014-01-17 21:03:14 UTC) #5
Dmitry Lomov (no reviews)
lgtm
6 years, 11 months ago (2014-01-17 22:40:45 UTC) #6
rossberg
lgtm
6 years, 11 months ago (2014-01-20 10:27:50 UTC) #7
Dmitry Lomov (no reviews)
On 2014/01/20 10:27:50, rossberg wrote: > lgtm I'll land
6 years, 11 months ago (2014-01-20 10:28:48 UTC) #8
Dmitry Lomov (no reviews)
Committed patchset #4 manually as r18685 (presubmit successful).
6 years, 11 months ago (2014-01-20 10:38:09 UTC) #9
Dmitry Lomov (no reviews)
6 years, 11 months ago (2014-01-20 11:01:15 UTC) #10
Message was sent while issue was closed.
On 2014/01/20 10:38:09, Dmitry Lomov (chromium) wrote:
> Committed patchset #4 manually as r18685 (presubmit successful).

Reverted in r18687 for breaking webkit tests:
http://build.chromium.org/p/client.v8/builders/V8%20Linux64/builds/8452/steps...

Powered by Google App Engine
This is Rietveld 408576698