|
Implement crankshaft support for nested object literals.
This generates optimized code for deep-copying of nested object literal
boilerplates which are statically known. Most of the boilerplates have
already been generated at crankshaft time, so this optimization should
kick in for virtually every object literal. Only nested object literal
graphs up to a certain depth and containing up to a certain total number
of properties are considered for this optimization. This will prevent
explosion of code size due to large object literals (e.g. eval on JSON).
Improves splay performance because object literals are created often.
R=fschneider@chromium.org
Committed: http://code.google.com/p/v8/source/detail?r=10061
Total comments: 10
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+419 lines, -41 lines) |
Patch |
|
M |
src/arm/lithium-arm.h
|
View
|
1
2
3
|
2 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-arm.cc
|
View
|
1
2
3
|
1 chunk |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-codegen-arm.h
|
View
|
1
2
3
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-codegen-arm.cc
|
View
|
1
2
3
|
1 chunk |
+68 lines, -1 line |
0 comments
|
Download
|
|
M |
src/hydrogen.cc
|
View
|
1
2
|
1 chunk |
+67 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/hydrogen-instructions.h
|
View
|
|
5 chunks |
+47 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/hydrogen-instructions.cc
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
src/ia32/lithium-codegen-ia32.h
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-codegen-ia32.cc
|
View
|
1
2
3
|
1 chunk |
+73 lines, -1 line |
0 comments
|
Download
|
|
M |
src/ia32/lithium-ia32.h
|
View
|
|
2 chunks |
+19 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-ia32.cc
|
View
|
|
1 chunk |
+10 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-codegen-x64.h
|
View
|
1
2
3
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-codegen-x64.cc
|
View
|
1
2
3
|
1 chunk |
+67 lines, -1 line |
0 comments
|
Download
|
|
M |
src/x64/lithium-x64.h
|
View
|
1
2
3
|
2 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-x64.cc
|
View
|
1
2
3
|
1 chunk |
+8 lines, -2 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|