DescriptionArray index computation dehoisting.
When an array index (in an array access) is a simple "expression + constant", just embed the constant in the array access operation so that the full index expression is (potentially) no longer used and its live range can be much shorter.
This is effective in conjunction with array bounds check removal (otherwise the index is anyway used in the check).
Committed: https://code.google.com/p/v8/source/detail?r=11596
Patch Set 1 #
Total comments: 28
Patch Set 2 : Fixed weird x64 bug related to 32 bit integer operations used in address computations happening in … #Patch Set 3 : Settled on 30 bits for offset values. #Patch Set 4 : Removed counters. #Patch Set 5 : Simplified expression. #
Total comments: 17
Patch Set 6 : Addressed review comments. #
Messages
Total messages: 6 (0 generated)
|