diff options
author | Steve Block <steveblock@google.com> | 2009-12-15 09:54:21 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2009-12-15 09:54:21 +0000 |
commit | d0582a6c46733687d045e4188a1bcd0123c758a1 (patch) | |
tree | 4139657adad206f69647f3d03f6fb2da2e8ae14e /src/stub-cache.h | |
parent | 3ce2e2076e8e3e60cf1810eec160ea2d8557e9e7 (diff) | |
download | android_external_v8-d0582a6c46733687d045e4188a1bcd0123c758a1.tar.gz android_external_v8-d0582a6c46733687d045e4188a1bcd0123c758a1.tar.bz2 android_external_v8-d0582a6c46733687d045e4188a1bcd0123c758a1.zip |
Update V8 to r3431 as required by WebKit r51976.
Change-Id: I567392c3f8c0a0d5201a4249611ac4ccf468cd5b
Diffstat (limited to 'src/stub-cache.h')
-rw-r--r-- | src/stub-cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stub-cache.h b/src/stub-cache.h index e2689202..788c5324 100644 --- a/src/stub-cache.h +++ b/src/stub-cache.h @@ -226,9 +226,9 @@ class StubCache : public AllStatic { // hash code would effectively throw away two bits of the hash // code. ASSERT(kHeapObjectTagSize == String::kHashShift); - // Compute the hash of the name (use entire length field). + // Compute the hash of the name (use entire hash field). ASSERT(name->HasHashCode()); - uint32_t field = name->length_field(); + uint32_t field = name->hash_field(); // Using only the low bits in 64-bit mode is unlikely to increase the // risk of collision even if the heap is spread over an area larger than // 4Gb (and not at all if it isn't). |