Index: src/ast/ast.h |
diff --git a/src/ast/ast.h b/src/ast/ast.h |
index 4dfc1a1a05d04bf3c43687a6628a5d95a2d275d9..a6661becf25a7cdf2d1a95dfacf31a48e66a7034 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) { |