Some string optimizations:
authorvitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 19 Feb 2010 13:07:37 +0000 (13:07 +0000)
committervitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 19 Feb 2010 13:07:37 +0000 (13:07 +0000)
commitc03db758537565750a34c896812ed9e245e5e0da
treec12676fddf881511a2b6d81e577e1d0a68cd94d6
parent24011207c65e7e08e4009187433ea17e1b56090c
Some string optimizations:

 * Inlined checks for strings and regexps.
 * Rewrote split for the non-regexp case.
 * Implemented one-char case for lastIndexOf.

Review URL: http://codereview.chromium.org/596122

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3917 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
13 files changed:
src/arm/codegen-arm.cc
src/arm/codegen-arm.h
src/codegen.cc
src/ia32/codegen-ia32.cc
src/ia32/codegen-ia32.h
src/macros.py
src/mips/codegen-mips.cc
src/mips/codegen-mips.h
src/runtime.cc
src/runtime.js
src/string.js
src/x64/codegen-x64.cc
src/x64/codegen-x64.h