Derive string size constants
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 28 Oct 2009 13:10:36 +0000 (13:10 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 28 Oct 2009 13:10:36 +0000 (13:10 +0000)
commit6768703d24b6bb7a8b0ad8c70a43a11892c1a22c
treefb10168495a77f8ce82aa182502c5c8a884d71cf
parent97de363ef51bf3d0dfbd3d892ce9b412c838897b
Derive string size constants

* The maximum length of short and medium sized strings is now derived from other constants.
* Remove the redundant String part of their names.
Review URL: http://codereview.chromium.org/347002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3162 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/heap.cc
src/objects-inl.h
src/objects.cc
src/objects.h
src/string-stream.cc
test/cctest/test-api.cc