Fix search-for-string and replace global to avoid hangs
authorerik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 27 Apr 2010 11:45:08 +0000 (11:45 +0000)
committererik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 27 Apr 2010 11:45:08 +0000 (11:45 +0000)
commit3206d70dec658deae2862eedea322f432ee65cbb
tree9aff56c3a1ed708d0b03de9e6b7e48465cd0a99d
parent9b5ca37545abf53f4c185099f95ed01d23d23b44
Fix search-for-string and replace global to avoid hangs
and spurious exceptions.
Review URL: http://codereview.chromium.org/1687013

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4511 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/runtime.cc
test/mjsunit/search-string-multiple.js [new file with mode: 0644]