DFG can call PutByValDirect for generic arrays
Created attachment 244509 [details] Patch
Comment on attachment 244509 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=244509&action=review Added comments. > Source/JavaScriptCore/dfg/DFGOperations.cpp:-129 > - asObject(baseValue)->putDirect(*vm, jsCast<NameInstance*>(property.asCell())->privateName(), value, slot); Seeing the code, reaching here, property is guaranteed that it's not NameInstance. > Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp:2566 > + DFG_ASSERT(m_jit.graph(), node, node->op() == PutByVal || node->op() == PutByValDirect); PutByValDirect can use this path for computed properties in object initializers (ES6).
Comment on attachment 244509 [details] Patch r=me
Comment on attachment 244509 [details] Patch Clearing flags on attachment: 244509 Committed r178370: <http://trac.webkit.org/changeset/178370>
All reviewed patches have been landed. Closing bug.