|
|
Inline getters of byte array view in the optimized flow graph.
This CL provides inline IL code for the getters _getInt8, _getInt16, etc.
to speed up [] and byte array views.
The code uses the existing LoadIndexed instructions by passing a index
scale factor explicitly: For normal arrays loads, the scale factor is equal
to the element size. For byte array access, the scale factor is always 1.
I'm adding inlined setters in a separate CL.
Committed: https://code.google.com/p/dart/source/detail?r=18173
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+2505 lines, -136 lines) |
Patch |
 |
A |
runtime/tests/vm/dart/byte_array_optimized_test.dart
|
View
|
1
|
1 chunk |
+2214 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/tests/vm/dart/byte_array_test.dart
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/tests/vm/vm.status
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_arm.cc
|
View
|
1
2
|
3 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_ia32.cc
|
View
|
1
2
|
1 chunk |
+36 lines, -45 lines |
3 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_mips.cc
|
View
|
1
2
|
3 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_x64.cc
|
View
|
1
2
|
1 chunk |
+36 lines, -45 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_optimizer.h
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_optimizer.cc
|
View
|
1
2
|
4 chunks |
+115 lines, -2 lines |
5 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language.h
|
View
|
1
2
|
4 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language_ia32.cc
|
View
|
1
2
|
5 chunks |
+24 lines, -12 lines |
2 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language_x64.cc
|
View
|
1
2
|
5 chunks |
+32 lines, -18 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|