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

Issue 792083002: Add materialized literals for tagged templates in preparser (Closed)

Created:
6 years ago by caitp (gmail)
Modified:
6 years ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

Add materialized literals for tagged templates in preparser LOG=N R=arv@chromium.org, dslomov@chromium.org, marja@chromium.org BUG=

Patch Set 1 #

Total comments: 3

Patch Set 2 : Assert preparser materialized literals === parser materialized literals #

Patch Set 3 : Oops. #

Total comments: 4

Patch Set 4 : Simplify test case, also test untagged templates #

Patch Set 5 : Remove changes to preparse_min_length flag #

Patch Set 6 : Oops nit. #

Patch Set 7 : Rebased #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -5 lines) Patch
M src/parser.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/preparser.h View 1 2 3 4 5 7 chunks +36 lines, -4 lines 3 comments Download
M test/cctest/test-parsing.cc View 1 2 3 4 5 chunks +45 lines, -1 line 0 comments Download

Messages

Total messages: 20 (3 generated)
caitp (gmail)
https://codereview.chromium.org/792083002/diff/1/test/cctest/test-parsing.cc File test/cctest/test-parsing.cc (right): https://codereview.chromium.org/792083002/diff/1/test/cctest/test-parsing.cc#newcode1428 test/cctest/test-parsing.cc:1428: actual_materialized_literals = function->materialized_literal_count(); have to do this here because ...
6 years ago (2014-12-10 18:17:49 UTC) #1
Dmitry Lomov (no reviews)
DBC https://codereview.chromium.org/792083002/diff/1/test/cctest/test-parsing.cc File test/cctest/test-parsing.cc (right): https://codereview.chromium.org/792083002/diff/1/test/cctest/test-parsing.cc#newcode1394 test/cctest/test-parsing.cc:1394: int literals = -1) { Instead of passing ...
6 years ago (2014-12-10 18:49:32 UTC) #3
caitp (gmail)
On 2014/12/10 18:49:32, Dmitry Lomov (chromium) wrote: > DBC > > https://codereview.chromium.org/792083002/diff/1/test/cctest/test-parsing.cc > File test/cctest/test-parsing.cc ...
6 years ago (2014-12-10 19:37:06 UTC) #4
Dmitry Lomov (no reviews)
On 2014/12/10 19:37:06, caitp wrote: > On 2014/12/10 18:49:32, Dmitry Lomov (chromium) wrote: > > ...
6 years ago (2014-12-10 19:46:42 UTC) #5
caitp (gmail)
On 2014/12/10 19:46:42, Dmitry Lomov (chromium) wrote: > On 2014/12/10 19:37:06, caitp wrote: > > ...
6 years ago (2014-12-10 20:29:06 UTC) #6
Dmitry Lomov (no reviews)
I see; maybe it is too complex (I didn't realize we do not have a ...
6 years ago (2014-12-10 20:54:12 UTC) #8
marja
We talked with dslomov@ about the testing approach. Ultimately we should make the test call ...
6 years ago (2014-12-11 11:31:12 UTC) #9
caitp (gmail)
https://codereview.chromium.org/792083002/diff/40001/test/cctest/test-parsing.cc File test/cctest/test-parsing.cc (right): https://codereview.chromium.org/792083002/diff/40001/test/cctest/test-parsing.cc#newcode4490 test/cctest/test-parsing.cc:4490: "// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" On 2014/12/11 11:31:12, marja wrote: > Hmm... ...
6 years ago (2014-12-11 13:53:35 UTC) #10
marja
https://codereview.chromium.org/792083002/diff/40001/test/cctest/test-parsing.cc File test/cctest/test-parsing.cc (right): https://codereview.chromium.org/792083002/diff/40001/test/cctest/test-parsing.cc#newcode4490 test/cctest/test-parsing.cc:4490: "// xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n" But but... RunParserSyncTest already tests preparsing against ...
6 years ago (2014-12-11 14:01:17 UTC) #11
caitp (gmail)
On 2014/12/11 14:01:17, marja wrote: > https://codereview.chromium.org/792083002/diff/40001/test/cctest/test-parsing.cc > File test/cctest/test-parsing.cc (right): > > https://codereview.chromium.org/792083002/diff/40001/test/cctest/test-parsing.cc#newcode4490 > ...
6 years ago (2014-12-11 14:04:46 UTC) #12
Dmitry Lomov (no reviews)
On 2014/12/11 14:04:46, caitp wrote: > On 2014/12/11 14:01:17, marja wrote: > > > https://codereview.chromium.org/792083002/diff/40001/test/cctest/test-parsing.cc ...
6 years ago (2014-12-11 14:08:06 UTC) #13
marja
lgtm modulo my previous formatting nit
6 years ago (2014-12-11 15:02:45 UTC) #14
Dmitry Lomov (no reviews)
lgtm
6 years ago (2014-12-11 15:14:43 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/792083002/120001
6 years ago (2014-12-11 15:16:34 UTC) #17
arv (Not doing code reviews)
LGTM Thanks for fixing. https://codereview.chromium.org/792083002/diff/120001/src/preparser.h File src/preparser.h (right): https://codereview.chromium.org/792083002/diff/120001/src/preparser.h#newcode762 src/preparser.h:762: kNoTemplateTagExpression)); Is this the formatting ...
6 years ago (2014-12-11 15:29:38 UTC) #18
commit-bot: I haz the power
Committed patchset #7 (id:120001)
6 years ago (2014-12-11 15:43:07 UTC) #19
caitp (gmail)
6 years ago (2014-12-11 16:14:04 UTC) #20
Message was sent while issue was closed.
https://codereview.chromium.org/792083002/diff/120001/src/preparser.h
File src/preparser.h (right):

https://codereview.chromium.org/792083002/diff/120001/src/preparser.h#newcode762
src/preparser.h:762: kNoTemplateTagExpression));
On 2014/12/11 15:29:38, arv wrote:
> Is this the formatting `git cl format` gives you? It looks pretty strange to
me.

clang-formatter doesn't complain about this because it matches the styleguide,
I'm not sure if it would have produced something different though

Powered by Google App Engine
This is Rietveld 408576698