Avoid arbitrarily deep recursion in Array.sort.
authorerikcorry <erikcorry@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 18 Jun 2012 09:23:05 +0000 (09:23 +0000)
committererikcorry <erikcorry@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 18 Jun 2012 09:23:05 +0000 (09:23 +0000)
commit45c4cd26beb0b6ed627608ab0b9479836a15f5ab
tree9d8fa478cd54de97075dadb213ae75200dc8f58a
parent635382e16efb12a5ded32fa99b974bff6f6df7dd
Avoid arbitrarily deep recursion in Array.sort.

BUG=v8:2185
Review URL: http://codereview.chromium.org/10561017

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11839 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/array.js
test/mjsunit/regress/regress-2185.js [new file with mode: 0644]