Descriptiondart2js cps: Set receiver-nullability in analysis pass.
Setting receiverIsNotNull, objectIsNotNull in the analysis pass
simplifies the transformation pass since predicates like
'isSafeForElimination' depend on them.
This would prevent constant folding of array lengths since
GetLength was not marked as safe for elimination at the
time it was considered for constant folding.
BUG=
R=kmillikin@google.com
Committed: https://github.com/dart-lang/sdk/commit/8c6b990305c8d0d3111ff870deaa2bc2c0adef11
Patch Set 1 #
Messages
Total messages: 4 (1 generated)
|