|
Don't preparse large files to find boundaries of lazy functions.
Instead use the preparser inline to parse only the lazy function
bodies.
This is still disabled for small files.
More measurements are needed to determine if lazy-compiling small
sources is worth it.
Committed: http://code.google.com/p/v8/source/detail?r=10066
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+334 lines, -116 lines) |
Patch |
|
M |
src/compiler.cc
|
View
|
1
2
|
5 chunks |
+11 lines, -22 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/liveedit.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/parser.h
|
View
|
1
2
|
6 chunks |
+20 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/parser.cc
|
View
|
1
2
|
8 chunks |
+206 lines, -42 lines |
0 comments
|
Download
|
|
M |
src/preparser.h
|
View
|
1
2
|
4 chunks |
+30 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/preparser.cc
|
View
|
1
2
|
4 chunks |
+49 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/scanner.h
|
View
|
1
2
|
1 chunk |
+12 lines, -4 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-parsing.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-1110.js
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|