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

Issue 3304012: Don't generate preparse data if lazy-flag is false. (Closed)

Created:
10 years, 3 months ago by Lasse Reichstein
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Don't generate preparse data if lazy-flag is false.

Patch Set 1 #

Total comments: 1

Patch Set 2 : Address review comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -2 lines) Patch
M src/compiler.cc View 1 1 chunk +13 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Lasse Reichstein
10 years, 3 months ago (2010-09-08 09:06:34 UTC) #1
Mads Ager (chromium)
10 years, 3 months ago (2010-09-08 10:08:13 UTC) #2
LGTM when comment is addressed.

http://codereview.chromium.org/3304012/diff/1/2
File src/compiler.cc (right):

http://codereview.chromium.org/3304012/diff/1/2#newcode274
src/compiler.cc:274: if (pre_data == NULL && FLAG_lazy &&
Could you do one part of the conjunction per line?

Also, the comment above needs to be updated. You should state why preparsing
does not make sense when lazy compilation is disabled.

Powered by Google App Engine
This is Rietveld 408576698