Optimize the common obfuscator pattern where ["foo","bar","baz"]
authorerik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 7 Sep 2011 11:28:48 +0000 (11:28 +0000)
committererik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 7 Sep 2011 11:28:48 +0000 (11:28 +0000)
commit260d65d58477f005e6a3b1facaf623b34b9b9f6f
treee7697436973cbea4b5ed62f6695f6a05c3c0b852
parent765cf1f25e3edfd615ec3f74ec65ca497a05397e
Optimize the common obfuscator pattern where ["foo","bar","baz"]
gets converted fo "foo,bar,baz".split(",").  If the inputs are
symbols we cache the result and make the substrings into symbols.
Review URL: http://codereview.chromium.org/7782025

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9164 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/heap.cc
src/heap.h
src/runtime.cc