Use String::kHashShift instead of kHashShift. TBR=ager@chromium.org.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@441 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
kasperl@chromium.org 2008-10-06 09:43:24 +00:00
parent 70dcba4024
commit bc66e45c53

View File

@ -202,7 +202,7 @@ class StubCache : public AllStatic {
// shift are equal. Shifting down the length field to get the
// hash code would effectively throw away two bits of the hash
// code.
ASSERT(kHeapObjectTagSize == kHashShift);
ASSERT(kHeapObjectTagSize == String::kHashShift);
// Compute the hash of the name (use entire length field).
ASSERT(name->HasHashCode());
uint32_t field = name->length_field();