|
|
Inlining functions with control flow.
Functions containing control flow are now inlined and incrementally extend the graph in SSA form. For the special case of a function with only one exit, we locally update the dominator tree. If multiple exits occur, we currently recompute the dominator tree for the full resulting graph.
Committed: https://code.google.com/p/dart/source/detail?r=12990
Total comments: 24
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+375 lines, -100 lines) |
Patch |
 |
M |
runtime/vm/flow_graph.h
|
View
|
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+143 lines, -23 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_builder.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_builder.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_inliner.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+85 lines, -53 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/il_printer.cc
|
View
|
1
2
3
4
|
2 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/intermediate_language.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A + |
tests/language/deopt_inlined_function_lazy_test.dart
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+9 lines, -13 lines |
0 comments
|
Download
|
 |
M |
tests/language/deopt_inlined_function_test.dart
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
A |
tests/language/inline_effect_context_test.dart
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/language/inline_test_context_test.dart
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/language/inline_value_context_test.dart
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|