Change generated code for substring not to bail out to runtime system.
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 17 Nov 2011 08:40:40 +0000 (08:40 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 17 Nov 2011 08:40:40 +0000 (08:40 +0000)
commit85b693c9e8f84ef84be41708d80e74d427ae948c
tree34a33b71ac1a6a101d5fbd6ea72f108ef781be01
parent08f69647d3950cd0601823176d4b18bf9c009434
Change generated code for substring not to bail out to runtime system.

There is no need to bail out to runtime system when creating sliced strings of external strings since the string content is unimportant.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10012 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/code-stubs-arm.cc
src/ia32/code-stubs-ia32.cc
src/x64/code-stubs-x64.cc