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

Unified Diff: src/runtime/runtime.cc

Issue 2369963002: [base] Remove PointersMatch, making a separate std::equals hashmap (Closed)
Patch Set: Fix the other simulators 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
« no previous file with comments | « src/profiler/strings-storage.h ('k') | src/s390/simulator-s390.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime.cc
diff --git a/src/runtime/runtime.cc b/src/runtime/runtime.cc
index feb8d8b51da307270659c7dda034659e61964cbe..9d1cd39c5da921862db1fc3f5ec4370fe3aeb613 100644
--- a/src/runtime/runtime.cc
+++ b/src/runtime/runtime.cc
@@ -61,7 +61,7 @@ static const Runtime::Function kIntrinsicFunctions[] = {
namespace {
V8_DECLARE_ONCE(initialize_function_name_map_once);
-static const base::HashMap* kRuntimeFunctionNameMap;
+static const base::CustomMatcherHashMap* kRuntimeFunctionNameMap;
struct IntrinsicFunctionIdentifier {
IntrinsicFunctionIdentifier(const unsigned char* data, const int length)
@@ -88,8 +88,8 @@ struct IntrinsicFunctionIdentifier {
};
void InitializeIntrinsicFunctionNames() {
- base::HashMap* function_name_map =
- new base::HashMap(IntrinsicFunctionIdentifier::Match);
+ base::CustomMatcherHashMap* function_name_map =
+ new base::CustomMatcherHashMap(IntrinsicFunctionIdentifier::Match);
for (size_t i = 0; i < arraysize(kIntrinsicFunctions); ++i) {
const Runtime::Function* function = &kIntrinsicFunctions[i];
IntrinsicFunctionIdentifier* identifier = new IntrinsicFunctionIdentifier(
« no previous file with comments | « src/profiler/strings-storage.h ('k') | src/s390/simulator-s390.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698