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

Issue 427723002: Enable ES6 Map and Set by default (Closed)

Created:
6 years, 4 months ago by adamk
Modified:
6 years, 4 months ago
CC:
arv (Not doing code reviews), Dmitry Lomov (no reviews), v8-dev
Project:
v8
Visibility:
Public.

Description

Enable ES6 Map and Set by default In doing so also remove all references to the --harmony-collections flag. Due to the way context snapshotting works, it's not possible to simply enable the flag by default. Depends on ES6 Symbols: https://codereview.chromium.org/421313004 BUG=v8:1622 LOG=Y R=arv@chromium.org, rossberg@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=22889

Patch Set 1 #

Patch Set 2 : Fixed test-heap #

Patch Set 3 : Rebased to trunk #

Patch Set 4 : Remove old test, fix BUILD.gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -2202 lines) Patch
M BUILD.gn View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M src/bootstrapper.cc View 1 2 5 chunks +51 lines, -65 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 chunks +0 lines, -4 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M test/cctest/test-heap.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/test-heap-profiler.cc View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M test/cctest/test-ordered-hash-table.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M test/mjsunit/builtins.js View 2 chunks +8 lines, -1 line 0 comments Download
M test/mjsunit/debug-script.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A + test/mjsunit/es6/collection-iterator.js View 1 chunk +1 line, -1 line 0 comments Download
A + test/mjsunit/es6/collections.js View 9 chunks +19 lines, -15 lines 0 comments Download
A + test/mjsunit/es6/debug-stepin-collections-foreach.js View 1 chunk +1 line, -1 line 0 comments Download
A + test/mjsunit/es6/mirror-collections.js View 1 chunk +1 line, -1 line 0 comments Download
A + test/mjsunit/es6/regress/regress-2186.js View 1 chunk +0 lines, -2 lines 0 comments Download
M test/mjsunit/es6/symbols.js View 1 chunk +0 lines, -1 line 0 comments Download
D test/mjsunit/es6/weak_collections.js View 1 2 3 1 chunk +0 lines, -333 lines 0 comments Download
M test/mjsunit/es7/object-observe.js View 1 chunk +1 line, -1 line 0 comments Download
D test/mjsunit/harmony/collection-iterator.js View 1 chunk +0 lines, -200 lines 0 comments Download
D test/mjsunit/harmony/collections.js View 1 chunk +0 lines, -1247 lines 0 comments Download
D test/mjsunit/harmony/debug-stepin-collections-foreach.js View 1 chunk +0 lines, -118 lines 0 comments Download
D test/mjsunit/harmony/mirror-collections.js View 1 chunk +0 lines, -144 lines 0 comments Download
M test/mjsunit/harmony/private.js View 1 chunk +0 lines, -1 line 0 comments Download
M test/mjsunit/harmony/proxies-hash.js View 1 chunk +1 line, -1 line 0 comments Download
D test/mjsunit/harmony/regress/regress-2186.js View 1 chunk +0 lines, -49 lines 0 comments Download
M test/mjsunit/regress/regress-3281.js View 1 chunk +1 line, -1 line 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
adamk
Note that this depends on https://codereview.chromium.org/421313004 being submitted first. It passes try jobs (see https://codereview.chromium.org/429433003).
6 years, 4 months ago (2014-07-29 22:31:01 UTC) #1
adamk
Ping on this review, too, now that Symbols have been LGTM'd this could land right ...
6 years, 4 months ago (2014-08-01 22:11:03 UTC) #2
adamk
Now rebased against bleeding_edge, to tryjobs should work here. Please take a look.
6 years, 4 months ago (2014-08-04 18:37:59 UTC) #3
arv (Not doing code reviews)
Non owner LGTM
6 years, 4 months ago (2014-08-04 18:42:02 UTC) #4
rossberg
LGTM with two comments: - You should also adjust BUILD.gn - Please remove the now ...
6 years, 4 months ago (2014-08-05 12:56:54 UTC) #5
adamk
Updated with BUILD.gn fixes and removal of weak-collections test.
6 years, 4 months ago (2014-08-05 19:26:35 UTC) #6
adamk
Committed patchset #4 manually as 22889 (presubmit successful).
6 years, 4 months ago (2014-08-05 19:37:45 UTC) #7
adamk
On 2014/08/05 at 19:37:45, adamk wrote: > Committed patchset #4 manually as 22889 (presubmit successful). ...
6 years, 4 months ago (2014-08-06 00:21:15 UTC) #8
adamk
6 years, 4 months ago (2014-08-06 17:33:34 UTC) #9
Message was sent while issue was closed.
On 2014/08/06 at 00:21:15, adamk wrote:
> On 2014/08/05 at 19:37:45, adamk wrote:
> > Committed patchset #4 manually as 22889 (presubmit successful).
> 
> It's possible that this broke a test on arm64:
http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20arm64%20-%20s...
> 
> === cctest/test-compiler/OptimizedCodeSharing ===
> --- stderr ---
> #
> # Fatal error in ../test/cctest/test-compiler.cc, line 390
> # CHECK(fun1->IsOptimized() || !CcTest::i_isolate()->use_crankshaft() ||
!fun1->IsOptimizable()) failed
> #
> 
> But I can't reproduce this locally. If it persists on the waterfall in MUC
daytime feel free to revert.

And it seems to have gone away on the tree. Nothing to see here.

Powered by Google App Engine
This is Rietveld 408576698