Fix crash: handle all flat string types in regexp replace.
authorvitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 6 Jul 2010 12:22:19 +0000 (12:22 +0000)
committervitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 6 Jul 2010 12:22:19 +0000 (12:22 +0000)
commit7b521af105367cb0578e878a50b0bf02d6dd8451
tree05de9d57692fe9c03f18bc20f5519bdfa144951c
parentae81e558fe0c331f4408edbceb2897aa6dd3927f
Fix crash: handle all flat string types in regexp replace.

Review URL: http://codereview.chromium.org/2868046

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