<rdar://problem/20949344> String.prototype.split() should create JSStrings using the lazy substring optimization.
Created attachment 253088 [details] Patch
Comment on attachment 253088 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=253088&action=review r=me > Source/JavaScriptCore/runtime/StringPrototype.cpp:179 > +static inline JSString* jsSubstringWithSharing(ExecState* exec, JSValue originalValue, const String& string, unsigned offset, unsigned length) I would just call this jsSubstring.
Committed r184346: <http://trac.webkit.org/changeset/184346>