diff options
| author | Ben Murdoch <benm@google.com> | 2012-01-20 14:57:15 +0000 |
|---|---|---|
| committer | Ben Murdoch <benm@google.com> | 2012-01-20 14:57:15 +0000 |
| commit | 2b4ba1175df6a5a6b9b5cda034189197bf6565ec (patch) | |
| tree | 6a4c479deebb22e68c5d7b915609593adee56a92 /src/debug.h | |
| parent | 35e02d4f35686cd3d202dab09aa0fdf24651afed (diff) | |
| download | android_external_v8-2b4ba1175df6a5a6b9b5cda034189197bf6565ec.tar.gz android_external_v8-2b4ba1175df6a5a6b9b5cda034189197bf6565ec.tar.bz2 android_external_v8-2b4ba1175df6a5a6b9b5cda034189197bf6565ec.zip | |
Merge V8 at r10446: Roll to 3.6.6.19
Bug: 5688872
Change-Id: Ie6be41e043db4e38abeb6b8d92761d7cc2c294bf
Diffstat (limited to 'src/debug.h')
| -rw-r--r-- | src/debug.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/debug.h b/src/debug.h index a098040c..a5083eb4 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; } |
