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

Issue 766193003: Make template scan related function take a template<bool> parameter (Closed)

Created:
6 years ago by arv (Not doing code reviews)
Modified:
6 years ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

Make template scan related function take a template<bool> parameter This is for performance. Having to do the test in every Advance was too expensive. BUG=438991, v8:3230 LOG=N R=dslomov@chromium.org, marja

Patch Set 1 #

Patch Set 2 : Change to use template<bool> and remove extra work from LiteralScope #

Total comments: 2

Patch Set 3 : Remove empty TerminateLiteral and use default template param #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -45 lines) Patch
M src/scanner.h View 1 2 10 chunks +10 lines, -21 lines 0 comments Download
M src/scanner.cc View 1 14 chunks +32 lines, -24 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
arv (Not doing code reviews)
PTAL I'm tempted to use a template<bool> so that the overhead for ordinary strings would ...
6 years ago (2014-12-04 17:03:40 UTC) #1
Dmitry Lomov (no reviews)
On 2014/12/04 17:03:40, arv wrote: > PTAL > > I'm tempted to use a template<bool> ...
6 years ago (2014-12-04 17:47:30 UTC) #2
arv (Not doing code reviews)
Change to use template<bool> and remove extra work from LiteralScope
6 years ago (2014-12-04 17:51:00 UTC) #3
arv (Not doing code reviews)
Changed to template<bool> PTAL
6 years ago (2014-12-04 17:52:16 UTC) #4
caitp (gmail)
On 2014/12/04 17:52:16, arv wrote: > Changed to template<bool> > > PTAL Another toolchain question: ...
6 years ago (2014-12-04 17:59:43 UTC) #5
Dmitry Lomov (no reviews)
lgtm https://codereview.chromium.org/766193003/diff/20001/src/scanner.h File src/scanner.h (right): https://codereview.chromium.org/766193003/diff/20001/src/scanner.h#newcode549 src/scanner.h:549: inline void TerminateLiteral() { Nit: if it does ...
6 years ago (2014-12-04 18:04:23 UTC) #6
arv (Not doing code reviews)
https://codereview.chromium.org/766193003/diff/20001/src/scanner.h File src/scanner.h (right): https://codereview.chromium.org/766193003/diff/20001/src/scanner.h#newcode549 src/scanner.h:549: inline void TerminateLiteral() { On 2014/12/04 18:04:23, Dmitry Lomov ...
6 years ago (2014-12-04 18:07:09 UTC) #7
arv (Not doing code reviews)
Remove empty TerminateLiteral and use default template param
6 years ago (2014-12-04 18:15:35 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/766193003/40001
6 years ago (2014-12-04 18:58:46 UTC) #10
commit-bot: I haz the power
6 years ago (2014-12-04 19:24:23 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001)

Powered by Google App Engine
This is Rietveld 408576698