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

Issue 56185: Put back compilation cache

Created:
11 years, 8 months ago by DaveMoore
Modified:
9 years, 7 months ago
Reviewers:
iposva, Kasper Lund
CC:
v8-dev
Visibility:
Public.

Description

Put back compilation cache

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -10 lines) Patch
M src/compilation-cache.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/compilation-cache.cc View 2 chunks +59 lines, -8 lines 7 comments Download
M src/compiler.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
DaveMoore
11 years, 8 months ago (2009-04-02 18:04:57 UTC) #1
iposva
Small comments, otherwise LGTM. -Ivan http://codereview.chromium.org/56185/diff/1/4 File src/compilation-cache.cc (right): http://codereview.chromium.org/56185/diff/1/4#newcode101 Line 101: // script originates ...
11 years, 8 months ago (2009-04-02 18:24:16 UTC) #2
Kasper Lund
LGTM. Thanks.
11 years, 8 months ago (2009-04-03 05:56:38 UTC) #3
DaveMoore
http://codereview.chromium.org/56185/diff/1/4 File src/compilation-cache.cc (right): http://codereview.chromium.org/56185/diff/1/4#newcode101 Line 101: // script originates from the same places. This ...
11 years, 8 months ago (2009-04-06 18:08:23 UTC) #4
iposva
11 years, 8 months ago (2009-04-06 18:11:20 UTC) #5
http://codereview.chromium.org/56185/diff/1/4
File src/compilation-cache.cc (right):

http://codereview.chromium.org/56185/diff/1/4#newcode148
Line 148: int column_offset) {
On 2009/04/06 18:08:23, davemoore wrote:
> Done, but the details are slightly different. We won't share code accidentally
> across contexts, but if a second identical script is compiled (from a
different
> source / line) it won't use the cached copy and won't be cached itself.
> 

I must be missing how you protect against sharing code in two contexts.

Powered by Google App Engine
This is Rietveld 408576698