Chromium Code Reviews
DescriptionBetter inlining of type tests.
The optimizing compiler can replace a type test with a cid-comparison
under certain conditions. This CL translates the instance-of call
into a inline comparison in the optimizer and not - as previously -
in the code generator. This results in better generated code for
like
if (x is y) {...}
when y does not have sub-classes and does not have type arguments.
R=regis@google.com
Committed: https://code.google.com/p/dart/source/detail?r=33231
Patch Set 1 #
Total comments: 4
Messages
Total messages: 6 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||