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

Issue 3153037: Use collector for preparse data. (Closed)

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

Description

Use collector for preparse data. This is in preparation of adding more data to the preparse record. Using a collector instead of a list avoids copying data when the backing store grows.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -27 lines) Patch
M src/parser.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/parser.cc View 8 chunks +35 lines, -27 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Lasse Reichstein
10 years, 4 months ago (2010-08-24 13:02:32 UTC) #1
Mads Ager (chromium)
10 years, 4 months ago (2010-08-24 14:25:54 UTC) #2
LGTM

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

http://codereview.chromium.org/3153037/diff/1/2#newcode965
src/parser.cc:965: : has_error_(false), store_(ScriptDataImpl::kHeaderSize) {
Four space indent.

Powered by Google App Engine
This is Rietveld 408576698