DescriptionFix bug in recompilation handling.
The recompilation infrastructure would set the propagated type of
operations just before code generation (skipping type propagation and
check insertion). This fixes that by splitting the recompilation
handling into two parts. One that is used only to register
recompilation candidates and one that is used to propagate the field
types for recompilation candidates. The one that propagates types is
only used when directly followed by type-propagation and check
insertion.
Remove the graph.highTypeLikelyhood flag which forced the use of
speculative type assumptions for everything if there was a field with
a likely type. That seems too aggressive to me.
R=floitsch@google.com
BUG=
TEST=language/field_optimization3_test.dart
Committed: https://code.google.com/p/dart/source/detail?r=9591
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address comments. #
Messages
Total messages: 3 (0 generated)
|