Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index ac677af13abd6c9296f4aeeb6f3615870ea176a8..bcb72f5866624edaacc31f3659f4b34e6cf6e87e 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -2480,16 +2480,7 @@ class DescriptorLookupCache { |
} |
} |
- static int Hash(Object* source, Name* name) { |
- // Uses only lower 32 bits if pointers are larger. |
- uint32_t source_hash = |
- static_cast<uint32_t>(reinterpret_cast<uintptr_t>(source)) >> |
- kPointerSizeLog2; |
- uint32_t name_hash = |
- static_cast<uint32_t>(reinterpret_cast<uintptr_t>(name)) >> |
- kPointerSizeLog2; |
- return (source_hash ^ name_hash) % kLength; |
- } |
+ static inline int Hash(Object* source, Name* name); |
static const int kLength = 64; |
struct Key { |