-
fpizlo@apple.com authored
We shouldn't use the optimized versions of shift/unshift if the user is doing crazy things to the array https://bugs.webkit.org/show_bug.cgi?id=97603 <rdar://problem/12370864> Reviewed by Gavin Barraclough. You changed the length behind our backs? No optimizations for you then! * runtime/ArrayPrototype.cpp: (JSC::shift): (JSC::unshift): * runtime/JSArray.cpp: (JSC::JSArray::shiftCount): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
8fd5e34c