Reviewers: Mads Ager,

Description:
Created collector class and used it to collect identifiers during scanning.

The collector class automatically expands to hold the values added to it,
like a List, but doesn't ensure that the backing store is contiguous, which
allows it to avoid copying back and forth as the buffer grows.

This is in preparation for identifyng identical symbols during preparsing.

Please review this at http://codereview.chromium.org/3181036/show

Affected files:
  M src/conversions.h
  M src/conversions.cc
  M src/parser.cc
  M src/runtime.h
  M src/runtime.cc
  M src/scanner.h
  M src/scanner.cc
  M src/utils.h
  M test/cctest/test-utils.cc


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to