Moved subject and index before matches in RegExp lastMatchInfo.
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 17 Mar 2009 12:44:20 +0000 (12:44 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 17 Mar 2009 12:44:20 +0000 (12:44 +0000)
commiteb656c723b6b7375d07dfe8c7cdb820b4c058709
tree9de3d494306c2f8a3cca73210988c40754f2448c
parent37d7dcd20c4b1b2a0c310cee0a1a2a830e746645
Moved subject and index before matches in RegExp lastMatchInfo.
Some minor changes, and removed the new handlescope in the inner loop of replace. Only really affects replaces on extremely long strings.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1524 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/heap.cc
src/jsregexp.cc
src/jsregexp.h
src/macros.py
src/regexp-delay.js
src/string.js
src/v8natives.js
test/cctest/test-regexp.cc