Replace ToAsciiVector and ToUC16Vector with single function that returns a tagged...
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 23 Aug 2011 12:22:12 +0000 (12:22 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 23 Aug 2011 12:22:12 +0000 (12:22 +0000)
commit9eb7d4a53c5e7d40d1151a187da7d1e097034f78
treefe2d6dee6bac54b9d417a050bb32fd4ad7b39f87
parentbf4222fb2918aaec45b83038e145a615d5cabb51
Replace ToAsciiVector and ToUC16Vector with single function that returns a tagged value.

The tag tells whether the content is ASCII or UC16, or even if the string wasn't flat.

BUG: v8:1633

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8999 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/handles.cc
src/hydrogen-instructions.cc
src/interpreter-irregexp.cc
src/jsregexp.cc
src/objects-inl.h
src/objects.cc
src/objects.h
src/runtime.cc
test/mjsunit/string-split.js