Index: test/cctest/test-ordered-hash-table.cc |
diff --git a/test/cctest/test-ordered-hash-table.cc b/test/cctest/test-ordered-hash-table.cc |
index b7c043d5e3fc0732f98ca5353c15ba89d73de83e..79523be2ff0e97ea9cf9df2f2a3a6e28b009c2ef 100644 |
--- a/test/cctest/test-ordered-hash-table.cc |
+++ b/test/cctest/test-ordered-hash-table.cc |
@@ -162,14 +162,14 @@ TEST(Map) { |
Handle<Map> map = factory->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); |
Handle<JSObject> obj = factory->NewJSObjectFromMap(map); |
Handle<JSObject> val = factory->NewJSObjectFromMap(map); |
- CHECK(ordered_map->Lookup(*obj)->IsTheHole()); |
+ CHECK(ordered_map->Lookup(obj)->IsTheHole()); |
ordered_map = OrderedHashMap::Put(ordered_map, obj, val); |
CHECK_EQ(1, ordered_map->NumberOfElements()); |
- CHECK(ordered_map->Lookup(*obj)->SameValue(*val)); |
+ CHECK(ordered_map->Lookup(obj)->SameValue(*val)); |
ordered_map = OrderedHashMap::Put( |
ordered_map, obj, factory->the_hole_value()); |
CHECK_EQ(0, ordered_map->NumberOfElements()); |
- CHECK(ordered_map->Lookup(*obj)->IsTheHole()); |
+ CHECK(ordered_map->Lookup(obj)->IsTheHole()); |
// Test for collisions/chaining |
Handle<JSObject> obj1 = factory->NewJSObjectFromMap(map); |
@@ -182,9 +182,9 @@ TEST(Map) { |
ordered_map = OrderedHashMap::Put(ordered_map, obj2, val2); |
ordered_map = OrderedHashMap::Put(ordered_map, obj3, val3); |
CHECK_EQ(3, ordered_map->NumberOfElements()); |
- CHECK(ordered_map->Lookup(*obj1)->SameValue(*val1)); |
- CHECK(ordered_map->Lookup(*obj2)->SameValue(*val2)); |
- CHECK(ordered_map->Lookup(*obj3)->SameValue(*val3)); |
+ CHECK(ordered_map->Lookup(obj1)->SameValue(*val1)); |
+ CHECK(ordered_map->Lookup(obj2)->SameValue(*val2)); |
+ CHECK(ordered_map->Lookup(obj3)->SameValue(*val3)); |
// Test iteration |
CheckIterResultObject( |
@@ -203,11 +203,11 @@ TEST(Map) { |
Handle<JSObject> obj4 = factory->NewJSObjectFromMap(map); |
Handle<JSObject> val4 = factory->NewJSObjectFromMap(map); |
ordered_map = OrderedHashMap::Put(ordered_map, obj4, val4); |
- CHECK(ordered_map->Lookup(*obj)->SameValue(*val)); |
- CHECK(ordered_map->Lookup(*obj1)->SameValue(*val1)); |
- CHECK(ordered_map->Lookup(*obj2)->SameValue(*val2)); |
- CHECK(ordered_map->Lookup(*obj3)->SameValue(*val3)); |
- CHECK(ordered_map->Lookup(*obj4)->SameValue(*val4)); |
+ CHECK(ordered_map->Lookup(obj)->SameValue(*val)); |
+ CHECK(ordered_map->Lookup(obj1)->SameValue(*val1)); |
+ CHECK(ordered_map->Lookup(obj2)->SameValue(*val2)); |
+ CHECK(ordered_map->Lookup(obj3)->SameValue(*val3)); |
+ CHECK(ordered_map->Lookup(obj4)->SameValue(*val4)); |
CHECK_EQ(5, ordered_map->NumberOfElements()); |
CHECK_EQ(4, ordered_map->NumberOfBuckets()); |