Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(681)

Unified Diff: src/interpreter/constant-array-builder.h

Issue 2381303002: [base] Optimise hashmaps with simple key equality (Closed)
Patch Set: Rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/interpreter/constant-array-builder.h
diff --git a/src/interpreter/constant-array-builder.h b/src/interpreter/constant-array-builder.h
index f0c4eae64ddbae70b32e6a85219242c0676efd8e..4f5b3062e120bd87e227dea21d63e8b2b4919844 100644
--- a/src/interpreter/constant-array-builder.h
+++ b/src/interpreter/constant-array-builder.h
@@ -107,7 +107,7 @@ class ConstantArrayBuilder final BASE_EMBEDDED {
Handle<Object> the_hole_value() const { return the_hole_value_; }
ConstantArraySlice* idx_slice_[3];
- base::TemplateHashMapImpl<Address, index_t, std::equal_to<Address>,
+ base::TemplateHashMapImpl<Address, index_t, base::KeyEqual<Address>,
ZoneAllocationPolicy>
constants_map_;
ZoneMap<Smi*, index_t> smi_map_;

Powered by Google App Engine
This is Rietveld 408576698