Index: src/debug.h |
=================================================================== |
--- src/debug.h (revision 10404) |
+++ src/debug.h (working copy) |
@@ -178,7 +178,9 @@ |
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; } |
@@ -222,7 +224,7 @@ |
// DebugInfo. |
class Debug { |
public: |
- void Setup(bool create_heap_objects); |
+ void SetUp(bool create_heap_objects); |
bool Load(); |
void Unload(); |
bool IsLoaded() { return !debug_context_.is_null(); } |