Chromium Code Reviews
DescriptionImprove array bounds check elimination for growable lists.
Previously we could not eliminate bounds checks for
growable lists, even though the length is not modified.
This CL removes obsolete restrictions and enables elimination
of checks as long as the length does not change.
This restriction were there originally because the CheckArrayBounds
instruction loaded the length from the array itself. Now, the length-load
and the actual check are split into separate instructions.
Tracking side-effects for normal loads determines can now determine if
the length-load is invariant.
R=vegorov@google.com
Committed: https://code.google.com/p/dart/source/detail?r=23688
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||||||||||||||||||||