Chromium Code Reviews
DescriptionImplement array bounds checks explicitly in the optimized IL.
They are inserted by the flow-graph optimizer when specializing
array operations.
As a result, LoadIndexed and StoreIndexed can't deoptimize themselves
anymore. All checks happen before in check-instructions.
Redundant array bound checks can be eliminated by CSE if all operands
match.
Committed: https://code.google.com/p/dart/source/detail?r=11433
Patch Set 1 #Patch Set 2 : fixed CanDeoptimize() #
Messages
Total messages: 2 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||