From bc66e45c53f1168211d3cbdb1071bbdd811e7efa Mon Sep 17 00:00:00 2001 From: "kasperl@chromium.org" Date: Mon, 6 Oct 2008 09:43:24 +0000 Subject: [PATCH] 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 --- src/stub-cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stub-cache.h b/src/stub-cache.h index 4ef42a4..e735405 100644 --- a/src/stub-cache.h +++ b/src/stub-cache.h @@ -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(); -- 2.7.4