| Index: src/ast/ast.h
|
| diff --git a/src/ast/ast.h b/src/ast/ast.h
|
| index fa462f01d65fef171d6eb30954b03005b4ceddf2..cc0dbc717347347dfdd64967ceddd3650d3581b6 100644
|
| --- a/src/ast/ast.h
|
| +++ b/src/ast/ast.h
|
| @@ -130,8 +130,7 @@ class FeedbackVectorSlotCache {
|
| public:
|
| explicit FeedbackVectorSlotCache(Zone* zone)
|
| : zone_(zone),
|
| - hash_map_(base::HashMap::PointersMatch,
|
| - ZoneHashMap::kDefaultHashMapCapacity,
|
| + hash_map_(ZoneHashMap::kDefaultHashMapCapacity,
|
| ZoneAllocationPolicy(zone)) {}
|
|
|
| void Put(Variable* variable, FeedbackVectorSlot slot) {
|
| @@ -1516,12 +1515,13 @@ class ObjectLiteral final : public MaterializedLiteral {
|
| // A map from property names to getter/setter pairs allocated in the zone.
|
| class AccessorTable
|
| : public base::TemplateHashMap<Literal, ObjectLiteral::Accessors,
|
| + bool (*)(void*, void*),
|
| ZoneAllocationPolicy> {
|
| public:
|
| explicit AccessorTable(Zone* zone)
|
| : base::TemplateHashMap<Literal, ObjectLiteral::Accessors,
|
| - ZoneAllocationPolicy>(Literal::Match,
|
| - ZoneAllocationPolicy(zone)),
|
| + bool (*)(void*, void*), ZoneAllocationPolicy>(
|
| + Literal::Match, ZoneAllocationPolicy(zone)),
|
| zone_(zone) {}
|
|
|
| Iterator lookup(Literal* literal) {
|
|
|