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

Unified Diff: test/cctest/test-api.cc

Side-by-side diff isn't available for this file because of its large size.
Issue 2369963002: [base] Remove PointersMatch, making a separate std::equals hashmap (Closed)
Patch Set: Fix the other simulators Created 4 years, 2 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:
Download patch
« no previous file with comments | « src/zone/zone.h ('k') | test/cctest/test-hashmap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index c21befbb2cc89c35664e2212734dd3dbea5879d3..8317a06aa22b5bad9e35296ae02037cef0e44d54 100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -14293,11 +14293,6 @@ THREADED_TEST(NestedHandleScopeAndContexts) {
}
-static bool MatchPointers(void* key1, void* key2) {
- return key1 == key2;
-}
-
-
struct SymbolInfo {
size_t id;
size_t size;
@@ -14808,10 +14803,10 @@ UNINITIALIZED_TEST(SetJitCodeEventHandler) {
{
v8::HandleScope scope(isolate);
- v8::base::HashMap code(MatchPointers);
+ v8::base::HashMap code;
code_map = &code;
- v8::base::HashMap lineinfo(MatchPointers);
+ v8::base::HashMap lineinfo;
jitcode_line_info = &lineinfo;
saw_bar = 0;
@@ -14874,10 +14869,10 @@ UNINITIALIZED_TEST(SetJitCodeEventHandler) {
CompileRun(script);
// Now get code through initial iteration.
- v8::base::HashMap code(MatchPointers);
+ v8::base::HashMap code;
code_map = &code;
- v8::base::HashMap lineinfo(MatchPointers);
+ v8::base::HashMap lineinfo;
jitcode_line_info = &lineinfo;
isolate->SetJitCodeEventHandler(v8::kJitCodeEventEnumExisting,
« no previous file with comments | « src/zone/zone.h ('k') | test/cctest/test-hashmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698