Description[turbofan] Add support for copy-on-write element stores.
This extends JSNativeContextSpecialization with support for stores to
fast object/smi element backing stores that are marked as copy-on-write.
In this case we first call the CopyFixedArray builtin to take a copy of
the elements backing store, and then store the new elements back to the
object, and finally perform the actual element store.
R=epertoso@chromium.org
BUG=v8:4470
Committed: https://crrev.com/ac98ad22f049a59c48387f1bab1590f135d219c6
Committed: https://crrev.com/b659a0ac2306303f0b7799fc884d57ca0c4dbf92
Cr-Original-Commit-Position: refs/heads/master@{#38370}
Cr-Commit-Position: refs/heads/master@{#38392}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fix failing test. Address feedback. #Patch Set 3 : Fix off-by-one loop iteration count. #
Created: 4 years, 4 months ago
Messages
Total messages: 31 (17 generated)
|