Commit bc66e45c authored by kasperl@chromium.org's avatar kasperl@chromium.org

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
parent 70dcba40
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment