Chromium Code Reviews

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
Reviewers:
Mads Ager (chromium)
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 Stats (+13 lines, -2 lines)
M src/compiler.cc View 1 chunk +13 lines, -2 lines 0 comments

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