DescriptionStrengthen type assertions post-dominated by checks during type propagation.
If a type assertion for a value is post-dominated by a class or smi check over the same value then raise the check over the assertion.
This allows to eliminate type assertions in the cases like:
AssertAssignable(x, int)
CheckSmi(x)
Currently post-domination is computed within a single block because post-dominators are not available.
R=fschneider@google.com
BUG=
Committed: https://code.google.com/p/dart/source/detail?r=18777
Patch Set 1 #
Total comments: 6
Messages
Total messages: 4 (0 generated)
|