|
|
Inline ByteArray._setIndexed in the flow graph optimizer.
The procedure is very similar to the existing inlining
of []=. The only difference is that the ICData collected
are different: The number of arguments tested is 1 when calling
_setIndexed, and it is 3 for []=.
To make it work, I construct an ICData object for the stored value
(argument 2) if it is needed for a check.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+94 lines, -982 lines) |
Patch |
 |
M |
runtime/vm/flow_graph_optimizer.h
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_optimizer.cc
|
View
|
1
2
3
|
4 chunks |
+73 lines, -2 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language.h
|
View
|
1
2
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intrinsifier.h
|
View
|
1
|
2 chunks |
+1 line, -21 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intrinsifier_arm.cc
|
View
|
1
|
3 chunks |
+1 line, -91 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intrinsifier_ia32.cc
|
View
|
1
|
4 chunks |
+1 line, -404 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intrinsifier_mips.cc
|
View
|
1
|
3 chunks |
+1 line, -91 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intrinsifier_x64.cc
|
View
|
1
|
4 chunks |
+1 line, -372 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|