|
Fix bug with CHA dependencies by recording a set of classes for registering code.
CHA is not only used with the receiver class, but also with other classes
when doing type propagation. The optimized code has to be registered with
all classes that are affected by CHA so that deoptimization occurs whenever
the set of subclasses changes for these classes.
R=vegorov@google.com
Committed: https://code.google.com/p/dart/source/detail?r=39194
Total comments: 15
Total comments: 4
Total comments: 13
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+378 lines, -209 lines) |
Patch |
 |
M |
runtime/vm/cha.h
|
View
|
1
2
3
|
2 chunks |
+36 lines, -21 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/cha.cc
|
View
|
1
2
3
|
3 chunks |
+58 lines, -93 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/cha_test.cc
|
View
|
1
2
3
|
3 chunks |
+21 lines, -50 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/class_finalizer.cc
|
View
|
1
2
3
|
3 chunks |
+25 lines, -3 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/compiler.cc
|
View
|
|
5 chunks |
+13 lines, -7 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_optimizer.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_optimizer.cc
|
View
|
|
4 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/flow_graph_type_propagator.cc
|
View
|
|
4 chunks |
+13 lines, -24 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/isolate.h
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/isolate.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
runtime/vm/object.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
tests/language/cha_deopt1_deferred_lib.dart
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/language/cha_deopt1_lib.dart
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/language/cha_deopt1_test.dart
|
View
|
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/language/cha_deopt2_deferred_lib.dart
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/language/cha_deopt2_lib.dart
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/language/cha_deopt2_test.dart
|
View
|
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/language/cha_deopt3_deferred_lib.dart
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/language/cha_deopt3_lib.dart
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A |
tests/language/cha_deopt3_test.dart
|
View
|
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|