Index: src/address-map.h |
diff --git a/src/address-map.h b/src/address-map.h |
index 8fde35ef353a869ac3735b9fb99bdab3f03b91e5..d50847fcd46569ae7fe1e701fc5057b6a1de43dc 100644 |
--- a/src/address-map.h |
+++ b/src/address-map.h |
@@ -38,9 +38,7 @@ class PointerToIndexHashMap |
return reinterpret_cast<uintptr_t>(value); |
} |
- static uint32_t Hash(uintptr_t key) { |
- return static_cast<uint32_t>(key >> kPointerSizeLog2); |
- } |
+ static uint32_t Hash(uintptr_t key) { return static_cast<uint32_t>(key); } |
}; |
class AddressToIndexHashMap : public PointerToIndexHashMap<Address> {}; |