Use collector for preparse data.
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 25 Aug 2010 06:46:53 +0000 (06:46 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 25 Aug 2010 06:46:53 +0000 (06:46 +0000)
commit99ce72bd8aa21d90a013d2e12336a0f2a36461c2
treedd7667db74cdc0e47150f70acd6b787224c915c3
parentd7fa6b7a21973c2a6a7248a580ac0d8ec4a54a2d
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.

Review URL: http://codereview.chromium.org/3153037

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5334 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/parser.cc
src/parser.h