|
|
In optimized code use IC calls for instance calls that have no IC data instead of deoptimizing. The optimized IC call increments usage counter and reoptimizes optimized function if the threshold is met.
Recognize closure calls and mark them in ICData. Closure calls do not populate ICData, i.e., number of checks is always 0 (unless mixed closure calls with regular instance calls). Therefore closure IC calls do not count for reoptimization.
Committed: https://code.google.com/p/dart/source/detail?r=14860
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+430 lines, -61 lines) |
Patch |
 |
M |
runtime/vm/code_generator.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/code_generator.cc
|
View
|
1
2
3
4
|
5 chunks |
+27 lines, -19 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler.cc
|
View
|
1
2
3
4
|
3 chunks |
+34 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_ia32.h
|
View
|
1
2
3
4
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_ia32.cc
|
View
|
1
2
3
4
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_x64.h
|
View
|
1
2
3
4
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_compiler_x64.cc
|
View
|
1
2
3
4
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language.cc
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language_ia32.cc
|
View
|
1
2
3
4
|
3 chunks |
+39 lines, -8 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language_x64.cc
|
View
|
1
2
3
4
|
3 chunks |
+39 lines, -5 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.h
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/object.cc
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/raw_object.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/stub_code.h
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/stub_code_ia32.cc
|
View
|
1
2
3
4
|
4 chunks |
+93 lines, -12 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/stub_code_x64.cc
|
View
|
1
2
3
4
|
4 chunks |
+90 lines, -11 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|