https://codereview.chromium.org/1231673008/diff/1/src/string.js
File src/string.js (right):

https://codereview.chromium.org/1231673008/diff/1/src/string.js#newcode1040
src/string.js:1040: var searchString = TO_STRING_INLINE(searchString);
On 2015/07/14 23:24:55, adamk wrote:
No need for "var" here, you're re-assigning a parameter now.

Done.

https://codereview.chromium.org/1231673008/diff/1/src/string.js#newcode1044
src/string.js:1044: pos = $toInteger(pos);
On 2015/07/14 23:24:55, adamk wrote:
TO_INTEGER here for more performance

This doesn't affect my benchmark because %_ArgumentsLength() == 1, but I
made the change for consistency.

https://codereview.chromium.org/1231673008/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to