Reviewers: Karl Klose,

Description:
Cleanup of ScannerConstants, now named UnicodeCache.

The ScannerConstants class was originally static fields on the scanner class.
During creation of the stand-alone preparser and later isolates, it has been
moved into a separate class with a per-isolate instance.
It is used to hold caching unicode Predicate values.

This change renames the class to UnicodeCache, and passes a reference
to the instance down to methods that doesn't have an easy access to
an isolate (to avoid, e.g., having to do an Isolate::Current() for every
number parsed).


Please review this at http://codereview.chromium.org/6824071/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/conversions.h
  M src/conversions.cc
  M src/dateparser-inl.h
  M src/dateparser.h
  M src/heap.cc
  M src/isolate.h
  M src/isolate.cc
  M src/objects.cc
  M src/parser.h
  M src/parser.cc
  M src/preparser-api.cc
  M src/runtime.cc
  M src/scanner-base.h
  M src/scanner-base.cc
  M src/scanner.h
  M src/scanner.cc
  M test/cctest/test-conversions.cc
  M test/cctest/test-parsing.cc


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

Reply via email to