Descriptiondart2js: Do not eliminate calls whose receiver can be null.
In the CPS backend's type propagation, try to avoid eliminating calls
whose receiver can be null.
This fixes a bug in the constant folding of indexed access. e0[e1]
would be folded away if e0 could be null but type inference told us
that the elements had a known (specifically null) type.
tests/language/inference_list_or_null_test triggers the bug.
R=asgerf@google.com
BUG=
Committed: https://github.com/dart-lang/sdk/commit/ff1c630edc06edad71cc70d068cce71cccfcb50b
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|