| Index: src/crankshaft/hydrogen-bce.cc
|
| diff --git a/src/crankshaft/hydrogen-bce.cc b/src/crankshaft/hydrogen-bce.cc
|
| index 77d313f61a667f62e848f9c67f70bef2f72648bb..7910c5bdaef71007c1aa86816d0c530680766cc3 100644
|
| --- a/src/crankshaft/hydrogen-bce.cc
|
| +++ b/src/crankshaft/hydrogen-bce.cc
|
| @@ -307,24 +307,25 @@ static bool BoundsCheckKeyMatch(void* key1, void* key2) {
|
| return k1->IndexBase() == k2->IndexBase() && k1->Length() == k2->Length();
|
| }
|
|
|
| -
|
| BoundsCheckTable::BoundsCheckTable(Zone* zone)
|
| - : ZoneHashMap(BoundsCheckKeyMatch, ZoneHashMap::kDefaultHashMapCapacity,
|
| - ZoneAllocationPolicy(zone)) { }
|
| -
|
| + : CustomMatcherZoneHashMap(BoundsCheckKeyMatch,
|
| + ZoneHashMap::kDefaultHashMapCapacity,
|
| + ZoneAllocationPolicy(zone)) {}
|
|
|
| BoundsCheckBbData** BoundsCheckTable::LookupOrInsert(BoundsCheckKey* key,
|
| Zone* zone) {
|
| - return reinterpret_cast<BoundsCheckBbData**>(&(
|
| - ZoneHashMap::LookupOrInsert(key, key->Hash(), ZoneAllocationPolicy(zone))
|
| - ->value));
|
| + return reinterpret_cast<BoundsCheckBbData**>(
|
| + &(CustomMatcherZoneHashMap::LookupOrInsert(key, key->Hash(),
|
| + ZoneAllocationPolicy(zone))
|
| + ->value));
|
| }
|
|
|
|
|
| void BoundsCheckTable::Insert(BoundsCheckKey* key,
|
| BoundsCheckBbData* data,
|
| Zone* zone) {
|
| - ZoneHashMap::LookupOrInsert(key, key->Hash(), ZoneAllocationPolicy(zone))
|
| + CustomMatcherZoneHashMap::LookupOrInsert(key, key->Hash(),
|
| + ZoneAllocationPolicy(zone))
|
| ->value = data;
|
| }
|
|
|
|
|