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

Issue 1903463002: Make global eval faster by lazily computing its call position. (Closed)

Created:
4 years, 8 months ago by Yang
Modified:
4 years, 8 months ago
Reviewers:
Michael Starzinger
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Make global eval faster by lazily computing its call position. Prior to 89d7bfda we always just collected the code offset and computed the source position lazily. However, for local eval we already have the source position ready, so we can just store that. For global eval we still have to compute from the code offset. This CL changes the computation to be done only on demand. R=mstarzinger@chromium.org BUG=chromium:604646 LOG=N Committed: https://crrev.com/91e2bf6e37c32f9e0a3afacf155c77a4b704f087 Cr-Commit-Position: refs/heads/master@{#35630}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -18 lines) Patch
M src/accessors.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/builtins.cc View 1 chunk +1 line, -11 lines 0 comments Download
M src/compiler.cc View 1 chunk +1 line, -2 lines 1 comment Download
M src/objects.h View 2 chunks +10 lines, -2 lines 0 comments Download
M src/objects.cc View 3 chunks +41 lines, -1 line 0 comments Download

Messages

Total messages: 14 (4 generated)
Yang
4 years, 8 months ago (2016-04-19 12:39:23 UTC) #1
Michael Starzinger
https://codereview.chromium.org/1903463002/diff/1/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/1903463002/diff/1/src/compiler.cc#newcode1249 src/compiler.cc:1249: compilation_cache->LookupEval(source, outer_info, context, language_mode, This will perform a compilation ...
4 years, 8 months ago (2016-04-19 13:39:33 UTC) #2
Yang
On 2016/04/19 13:39:33, Michael Starzinger wrote: > https://codereview.chromium.org/1903463002/diff/1/src/compiler.cc > File src/compiler.cc (right): > > https://codereview.chromium.org/1903463002/diff/1/src/compiler.cc#newcode1249 ...
4 years, 8 months ago (2016-04-19 13:45:06 UTC) #3
Yang
On 2016/04/19 13:39:33, Michael Starzinger wrote: > https://codereview.chromium.org/1903463002/diff/1/src/compiler.cc > File src/compiler.cc (right): > > https://codereview.chromium.org/1903463002/diff/1/src/compiler.cc#newcode1249 ...
4 years, 8 months ago (2016-04-19 13:45:09 UTC) #4
Michael Starzinger
On 2016/04/19 13:45:09, Yang wrote: > On 2016/04/19 13:39:33, Michael Starzinger wrote: > > https://codereview.chromium.org/1903463002/diff/1/src/compiler.cc ...
4 years, 8 months ago (2016-04-19 13:48:35 UTC) #5
Michael Starzinger
LGTM.
4 years, 8 months ago (2016-04-19 13:48:47 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1903463002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1903463002/1
4 years, 8 months ago (2016-04-19 13:51:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1903463002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1903463002/1
4 years, 8 months ago (2016-04-19 15:31:03 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-19 16:16:40 UTC) #12
nodir1
4 years, 8 months ago (2016-04-22 18:43:11 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/91e2bf6e37c32f9e0a3afacf155c77a4b704f087
Cr-Commit-Position: refs/heads/master@{#35630}

Powered by Google App Engine
This is Rietveld 408576698