TryFlatten is inlined, while Flatten is not. Make an optimization to avoid the call...
authordeanm@chromium.org <deanm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 19 Sep 2008 11:06:35 +0000 (11:06 +0000)
committerdeanm@chromium.org <deanm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 19 Sep 2008 11:06:35 +0000 (11:06 +0000)
commitab377a3f4216fdd809c769b8d4f1bcbc0c028084
treeda7834f0f484ceb068465e1bc01d53b255adbc22
parentcc8fd0e527992b060934c36ffba0cf206582a074
TryFlatten is inlined, while Flatten is not.  Make an optimization to avoid the call to Flatten when we're already flat.  This gives me 5% on some simple indexOf experiments.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@347 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/objects-inl.h