Fix invalid usage of StoreIC_ArrayLength optimization.
This introduces an additional check into the StoreIC_ArrayLength builtin checking that the array still has fast properties. Redifinitions of the length property that would cause it's type or attributes to change, will switch to slow properties, thereby invalidating said optimization. R=svenpanne@chromium.org BUG=v8:1756 TEST=test262 Review URL: http://codereview.chromium.org/8895025 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10254 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Showing
Please
register
or
sign in
to comment