Index: test/cctest/test-hashmap.cc |
diff --git a/test/cctest/test-hashmap.cc b/test/cctest/test-hashmap.cc |
index 2d423b454369a24f609718cdbe793e6c208265fe..b1adc7b0051a4349cbece57729b17f1f88801911 100644 |
--- a/test/cctest/test-hashmap.cc |
+++ b/test/cctest/test-hashmap.cc |
@@ -34,17 +34,13 @@ |
using namespace v8::internal; |
-static bool DefaultMatchFun(void* a, void* b) { |
- return a == b; |
-} |
- |
typedef uint32_t (*IntKeyHash)(uint32_t key); |
class IntSet { |
public: |
- explicit IntSet(IntKeyHash hash) : hash_(hash), map_(DefaultMatchFun) {} |
+ explicit IntSet(IntKeyHash hash) : hash_(hash) {} |
void Insert(int x) { |
CHECK_NE(0, x); // 0 corresponds to (void*)NULL - illegal key value |