|
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).
Committed: http://code.google.com/p/v8/source/detail?r=7584
Total comments: 18
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+281 lines, -252 lines) |
Patch |
|
M |
src/conversions.h
|
View
|
1
|
3 chunks |
+14 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/conversions.cc
|
View
|
1
|
19 chunks |
+40 lines, -43 lines |
0 comments
|
Download
|
|
M |
src/dateparser.h
|
View
|
1
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/dateparser-inl.h
|
View
|
1
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/heap.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/isolate.h
|
View
|
1
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/isolate.cc
|
View
|
1
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
|
4 chunks |
+20 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/parser.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/parser.cc
|
View
|
|
4 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/preparser-api.cc
|
View
|
1
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/runtime.cc
|
View
|
1
|
5 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/scanner.h
|
View
|
1
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/scanner.cc
|
View
|
1
|
4 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/scanner-base.h
|
View
|
|
7 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/scanner-base.cc
|
View
|
1
|
14 chunks |
+20 lines, -38 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-conversions.cc
|
View
|
|
4 chunks |
+111 lines, -96 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-parsing.cc
|
View
|
1
|
8 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|