Descriptiondart2js cps: Change type tests to null tests when applicable.
When null is the only value that might fail a type test we can
rewrite it to just compare against null.
Update: Fixed a missing mandatory named parameter.
R=kmillikin@google.com, sra@google.com
Committed: https://github.com/dart-lang/sdk/commit/29dedfa97e3ff513d93b89c69c6b42b9746925d6
Reverted: https://github.com/dart-lang/sdk/commit/e97d32be50504c965b2f598f7f833b54be066fdf
Committed: https://github.com/dart-lang/sdk/commit/cd901e78136644983e5933451248a53ac23a149b
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Pass 'allowNull' mandatory named parameter to 'isSubtypeOf' #Patch Set 4 : Merge #Messages
Total messages: 8 (2 generated)
|