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

Issue 898983002: Add strong mode. (Closed)

Created:
5 years, 10 months ago by marja
Modified:
5 years, 10 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add strong mode. It doesn't do anything for now, but it implies strict mode. Added tests to test-parsing.cc to test that. BUG= Committed: https://crrev.com/d21b9a142241ffd9593416d5a04cbea18ed1930e Cr-Commit-Position: refs/heads/master@{#26460}

Patch Set 1 #

Total comments: 9

Patch Set 2 : rebased #

Patch Set 3 : Code review + fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -127 lines) Patch
M src/ast-value-factory.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/code-stubs.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/compiler.h View 1 2 3 chunks +25 lines, -23 lines 0 comments Download
M src/compiler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/flag-definitions.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/globals.h View 1 2 1 chunk +28 lines, -6 lines 0 comments Download
M src/hydrogen-instructions.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/ic/ic.h View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M src/objects.h View 1 2 3 chunks +8 lines, -7 lines 0 comments Download
M src/objects.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/objects-inl.h View 1 2 1 chunk +6 lines, -4 lines 0 comments Download
M src/parser.cc View 1 2 6 chunks +42 lines, -26 lines 0 comments Download
M src/preparser.h View 1 2 11 chunks +24 lines, -3 lines 0 comments Download
M src/preparser.cc View 1 2 3 chunks +7 lines, -2 lines 0 comments Download
M src/runtime/runtime.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 2 18 chunks +128 lines, -40 lines 0 comments Download
M test/unittests/compiler/js-typed-lowering-unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
marja
rossberg, ptal
5 years, 10 months ago (2015-02-04 15:59:14 UTC) #2
arv (Not doing code reviews)
It looks like this is going into master without a flag? https://codereview.chromium.org/898983002/diff/1/src/parser.cc File src/parser.cc (right): ...
5 years, 10 months ago (2015-02-04 16:17:12 UTC) #4
rossberg
He he! https://codereview.chromium.org/898983002/diff/1/src/globals.h File src/globals.h (right): https://codereview.chromium.org/898983002/diff/1/src/globals.h#newcode245 src/globals.h:245: inline bool is_sloppy(LanguageMode language_mode) { Nit: perhaps ...
5 years, 10 months ago (2015-02-04 16:18:09 UTC) #5
marja
Hmm yeah, should probably go behind a flag - the breaking case would be that ...
5 years, 10 months ago (2015-02-04 16:19:40 UTC) #6
rossberg
https://codereview.chromium.org/898983002/diff/1/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/898983002/diff/1/src/parser.cc#newcode1156 src/parser.cc:1156: bool use_sanity_found = On 2015/02/04 16:17:11, arv wrote: > ...
5 years, 10 months ago (2015-02-04 16:19:57 UTC) #7
adamk
Besides a flag, I think we need to decide on a name before we start ...
5 years, 10 months ago (2015-02-04 19:22:55 UTC) #9
marja
Thanks for comments. All done. Now stronger than ever. https://codereview.chromium.org/898983002/diff/1/src/globals.h File src/globals.h (right): https://codereview.chromium.org/898983002/diff/1/src/globals.h#newcode245 src/globals.h:245: ...
5 years, 10 months ago (2015-02-05 12:11:38 UTC) #10
marja
(Also note that the subject line for this code review didn't change, but the actual ...
5 years, 10 months ago (2015-02-05 12:12:39 UTC) #11
rossberg
lgtm
5 years, 10 months ago (2015-02-05 14:07:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/898983002/40001
5 years, 10 months ago (2015-02-05 14:09:50 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-05 14:11:43 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-05 14:12:01 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d21b9a142241ffd9593416d5a04cbea18ed1930e
Cr-Commit-Position: refs/heads/master@{#26460}

Powered by Google App Engine
This is Rietveld 408576698