Added %FlattenString and use it to speed up a regression test.
Flattening strings is relatively costly and by doing it after every duplication we avoid combinatorial explosion. Note that flattening could have been done by e.g. using a regular expression, too, but this is just another implementation detail and %FlattenString seems general enough to be useful in other tests, too. Review URL: https://codereview.chromium.org/11828014 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13337 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Showing
Please
register
or
sign in
to comment