| Index: src/crankshaft/hydrogen-bce.cc
|
| diff --git a/src/crankshaft/hydrogen-bce.cc b/src/crankshaft/hydrogen-bce.cc
|
| index 3b5940dc9f813274f5b5e2993528b01fcabff5f9..77d313f61a667f62e848f9c67f70bef2f72648bb 100644
|
| --- a/src/crankshaft/hydrogen-bce.cc
|
| +++ b/src/crankshaft/hydrogen-bce.cc
|
| @@ -315,15 +315,17 @@ BoundsCheckTable::BoundsCheckTable(Zone* zone)
|
|
|
| BoundsCheckBbData** BoundsCheckTable::LookupOrInsert(BoundsCheckKey* key,
|
| Zone* zone) {
|
| - return reinterpret_cast<BoundsCheckBbData**>(
|
| - &(ZoneHashMap::LookupOrInsert(key, key->Hash())->value));
|
| + return reinterpret_cast<BoundsCheckBbData**>(&(
|
| + ZoneHashMap::LookupOrInsert(key, key->Hash(), ZoneAllocationPolicy(zone))
|
| + ->value));
|
| }
|
|
|
|
|
| void BoundsCheckTable::Insert(BoundsCheckKey* key,
|
| BoundsCheckBbData* data,
|
| Zone* zone) {
|
| - ZoneHashMap::LookupOrInsert(key, key->Hash())->value = data;
|
| + ZoneHashMap::LookupOrInsert(key, key->Hash(), ZoneAllocationPolicy(zone))
|
| + ->value = data;
|
| }
|
|
|
|
|
|
|