in addition...
http://codereview.chromium.org/17378/diff/1/4 File src/jsregexp.cc (right): http://codereview.chromium.org/17378/diff/1/4#newcode1389 Line 1389: if (affected_registers.Get(reg)) assembler->PopRegister(reg); On 2009/01/14 09:24:31, Erik Corry wrote: > ... and pop registers if they are just affected by a WritePosition. We could > just clear them instead of popping them. In fact for register 0 there's no need to clear it either. Either it will be overwritten later or the regexp doesn't match in which case it doesn't matter what is in it. http://codereview.chromium.org/17378 --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
