|
Implement fast literal support in Crankshaft.
This extends the current support for nested object literals we already
have in Crankshaft, to also support nested array literals and mixed
nested literals containing arrays and objects. All three types are
generated by the unified HFastLiteral instruction.
All previous upper bounds on nested literal graphs remain unchanged,
keeping the size of generated code in check.
The main intention is to boost performance of two-dimensional array
literals containing constant elements (aka. matrices).
R=danno@chromium.org
TEST=mjsunit/compiler/literals-optimized
Committed: https://code.google.com/p/v8/source/detail?r=10734
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+518 lines, -210 lines) |
Patch |
|
M |
src/arm/lithium-arm.h
|
View
|
|
3 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-arm.cc
|
View
|
|
1 chunk |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-codegen-arm.cc
|
View
|
1
|
3 chunks |
+52 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.cc
|
View
|
1
|
5 chunks |
+66 lines, -36 lines |
0 comments
|
Download
|
|
M |
src/hydrogen-instructions.h
|
View
|
|
6 chunks |
+46 lines, -46 lines |
0 comments
|
Download
|
|
M |
src/hydrogen-instructions.cc
|
View
|
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-codegen-ia32.cc
|
View
|
1
|
3 chunks |
+51 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-ia32.h
|
View
|
|
3 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-ia32.cc
|
View
|
|
1 chunk |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/mips/lithium-codegen-mips.cc
|
View
|
1
|
3 chunks |
+53 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/mips/lithium-mips.h
|
View
|
|
3 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/mips/lithium-mips.cc
|
View
|
|
1 chunk |
+6 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-codegen-x64.cc
|
View
|
1
|
3 chunks |
+52 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-x64.h
|
View
|
|
3 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-x64.cc
|
View
|
|
1 chunk |
+6 lines, -7 lines |
0 comments
|
Download
|
|
A |
test/mjsunit/compiler/literals-optimized.js
|
View
|
|
1 chunk |
+121 lines, -0 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|