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

Issue 722203006: Disable classes in sloppy mode unless --harmony-sloppy is set (Closed)

Created:
6 years, 1 month ago by rossberg
Modified:
6 years, 1 month ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

Disable classes in sloppy mode unless --harmony-sloppy is set Also clean up flag names a little. Baseline: https://codereview.chromium.org/713413003/ R=arv@chromium.org, dslomov@chromium.org BUG= Committed: https://chromium.googlesource.com/v8/v8/+/1808badc2d83432af0e9fd1ba5bf49e40f279b39

Patch Set 1 #

Patch Set 2 : Introduce harmony-sloppy flag #

Total comments: 5

Patch Set 3 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+293 lines, -107 lines) Patch
M src/ast-value-factory.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/bootstrapper.cc View 1 3 chunks +3 lines, -0 lines 0 comments Download
M src/flag-definitions.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/messages.js View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/parser.cc View 1 2 9 chunks +41 lines, -12 lines 0 comments Download
M src/preparser.h View 1 6 chunks +34 lines, -15 lines 0 comments Download
M src/preparser.cc View 1 2 6 chunks +24 lines, -1 line 0 comments Download
M test/cctest/test-parsing.cc View 1 2 38 chunks +144 lines, -76 lines 0 comments Download
A test/mjsunit/harmony/block-non-strict-errors.js View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
M test/mjsunit/harmony/classes.js View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (2 generated)
rossberg
6 years, 1 month ago (2014-11-18 11:53:23 UTC) #1
arv (Not doing code reviews)
We should introduce a new flag for supporting harmony-scoping-sloppy. We will need that as we ...
6 years, 1 month ago (2014-11-18 16:22:30 UTC) #2
rossberg
On 2014/11/18 16:22:30, arv wrote: > We should introduce a new flag for supporting harmony-scoping-sloppy. ...
6 years, 1 month ago (2014-11-19 12:53:42 UTC) #3
arv (Not doing code reviews)
LGTM with minor issues. https://codereview.chromium.org/722203006/diff/40001/test/cctest/test-parsing.cc File test/cctest/test-parsing.cc (right): https://codereview.chromium.org/722203006/diff/40001/test/cctest/test-parsing.cc#newcode1375 test/cctest/test-parsing.cc:1375: printf("SetParserFlags: %d\n", flags.Contains(kAllowHarmonySloppy)); Remove? https://codereview.chromium.org/722203006/diff/40001/test/mjsunit/harmony/block-non-strict-errors.js ...
6 years, 1 month ago (2014-11-19 16:51:04 UTC) #6
rossberg
https://codereview.chromium.org/722203006/diff/40001/test/cctest/test-parsing.cc File test/cctest/test-parsing.cc (right): https://codereview.chromium.org/722203006/diff/40001/test/cctest/test-parsing.cc#newcode1375 test/cctest/test-parsing.cc:1375: printf("SetParserFlags: %d\n", flags.Contains(kAllowHarmonySloppy)); On 2014/11/19 16:51:04, arv wrote: > ...
6 years, 1 month ago (2014-11-19 17:23:43 UTC) #7
arv (Not doing code reviews)
https://codereview.chromium.org/722203006/diff/40001/test/mjsunit/harmony/block-non-strict-errors.js File test/mjsunit/harmony/block-non-strict-errors.js (right): https://codereview.chromium.org/722203006/diff/40001/test/mjsunit/harmony/block-non-strict-errors.js#newcode33 test/mjsunit/harmony/block-non-strict-errors.js:33: CheckError("1, class {};"); On 2014/11/19 17:23:43, rossberg wrote: > ...
6 years, 1 month ago (2014-11-19 17:43:09 UTC) #8
Dmitry Lomov (no reviews)
lgtm you will have to rebase onto https://chromium.googlesource.com/v8/v8/+/c32114f1dcb1102c685007a5da813c664ded94cf
6 years, 1 month ago (2014-11-19 18:22:34 UTC) #9
rossberg
On 2014/11/19 18:22:34, Dmitry Lomov (chromium) wrote: > you will have to rebase onto > ...
6 years, 1 month ago (2014-11-20 10:47:40 UTC) #10
rossberg
Committed patchset #3 (id:60001) manually as 1808badc2d83432af0e9fd1ba5bf49e40f279b39 (presubmit successful).
6 years, 1 month ago (2014-11-20 10:52:12 UTC) #11
Dmitry Lomov (no reviews)
6 years, 1 month ago (2014-11-20 23:28:44 UTC) #12
Message was sent while issue was closed.
On 2014/11/20 10:47:40, rossberg wrote:
> On 2014/11/19 18:22:34, Dmitry Lomov (chromium) wrote:
> > you will have to rebase onto
> >
>
https://chromium.googlesource.com/v8/v8/+/c32114f1dcb1102c685007a5da813c664de...
> 
> That's already the baseline, see CL Description. :)

Ah ic, your last patchset was against the ToT I think

Powered by Google App Engine
This is Rietveld 408576698