|
Enable optimization of top-level code and generate deoptimization support lazily.
This change enables optimization of top-level and eval-code. For this to work, it adds
support for declaring global variables in optimized code.
At the same time it disables the eager generation of deoptimization support data
in the full code generator (originally introduced in
r10040). This speeds up initial compilation and saves
memory for functions that won't be optimized. It requires
recompiling the function with deoptimization
support when we decide to optimize it.
Committed: https://code.google.com/p/v8/source/detail?r=10700
Total comments: 6
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+272 lines, -84 lines) |
Patch |
|
M |
src/arm/full-codegen-arm.cc
|
View
|
1
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-arm.h
|
View
|
1
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-arm.cc
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-codegen-arm.cc
|
View
|
1
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ast.h
|
View
|
1
|
8 chunks |
+24 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/compiler.h
|
View
|
1
2
|
3 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/compiler.cc
|
View
|
1
2
|
8 chunks |
+15 lines, -10 lines |
3 comments
|
Download
|
|
M |
src/full-codegen.h
|
View
|
1
|
1 chunk |
+12 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/full-codegen.cc
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.h
|
View
|
1
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
src/hydrogen.cc
|
View
|
1
2
|
5 chunks |
+63 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/hydrogen-instructions.h
|
View
|
1
|
2 chunks |
+28 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/full-codegen-ia32.cc
|
View
|
1
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-codegen-ia32.cc
|
View
|
1
2
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-ia32.h
|
View
|
1
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-ia32.cc
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
1
2
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/parser.cc
|
View
|
1
|
8 chunks |
+18 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/runtime-profiler.cc
|
View
|
1
2
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/full-codegen-x64.cc
|
View
|
1
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-codegen-x64.cc
|
View
|
1
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-x64.h
|
View
|
1
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-x64.cc
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|