[DFG] Reduce OSRExit for Kraken/crypto-aes due to CoW array
Created attachment 342879 [details] Patch
Created attachment 342880 [details] Patch
Comment on attachment 342880 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=342880&action=review r=me. > Source/JavaScriptCore/runtime/CommonSlowPaths.cpp:1166 > + ArrayAllocationProfile::updateLastAllocationFor(profile, result); Ha, whoops! I think I removed that to test something and forgot to put it back later...
Comment on attachment 342880 [details] Patch Yeah, we still have one more OSRExit, which is caused by Array#slice lookup. Personally, I think this can be fixed Fil's CreateThis's GetById extension, but idk.
Committed r232904: <https://trac.webkit.org/changeset/232904>
<rdar://problem/41187936>
Since this change, stress/cow-convert-double-to-contiguous.js and stress/cow-convert-int32-to-contiguous.js fail on all 32-bit platforms. I'm trying to understand why.