Index: src/debug.h |
diff --git a/src/debug.h b/src/debug.h |
index a39d8013e477b345ab8dfabb0f3af58f0e21c399..05a6b59d5370f9dd49edceb1e8869deb290ad6d4 100644 |
--- a/src/debug.h |
+++ b/src/debug.h |
@@ -178,7 +178,9 @@ class ScriptCache : private HashMap { |
private: |
// Calculate the hash value from the key (script id). |
- static uint32_t Hash(int key) { return ComputeIntegerHash(key); } |
+ static uint32_t Hash(int key) { |
+ return ComputeIntegerHash(key, v8::internal::kZeroHashSeed); |
+ } |
// Scripts match if their keys (script id) match. |
static bool ScriptMatch(void* key1, void* key2) { return key1 == key2; } |