Reviewers: Erik Corry,

Description:
Don't use string slices when processing RexExp replace.

String slices from RegExp replace results is now encoded in either one or  
two
smis. Substrings are not used any more.

If the existing one smi encoding cannot hold the start/length information  
two
smis are used the first having the negative length and the second having the
start.

This is in preparation for removing string slices.

Please review this at http://codereview.chromium.org/342015

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/runtime.cc
   M     src/string.js



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to