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

Side by Side Diff: src/zone/zone.h

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:
View unified diff | Download patch
« no previous file with comments | « src/s390/simulator-s390.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ZONE_ZONE_H_ 5 #ifndef V8_ZONE_ZONE_H_
6 #define V8_ZONE_ZONE_H_ 6 #define V8_ZONE_ZONE_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "src/base/hashmap.h" 10 #include "src/base/hashmap.h"
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 } 227 }
228 228
229 void* operator new(size_t size, Zone* zone) { return zone->New(size); } 229 void* operator new(size_t size, Zone* zone) { return zone->New(size); }
230 230
231 void operator delete(void* pointer) { UNREACHABLE(); } 231 void operator delete(void* pointer) { UNREACHABLE(); }
232 void operator delete(void* pointer, Zone* zone) { UNREACHABLE(); } 232 void operator delete(void* pointer, Zone* zone) { UNREACHABLE(); }
233 }; 233 };
234 234
235 typedef base::PointerTemplateHashMapImpl<ZoneAllocationPolicy> ZoneHashMap; 235 typedef base::PointerTemplateHashMapImpl<ZoneAllocationPolicy> ZoneHashMap;
236 236
237 typedef base::CustomMatcherTemplateHashMapImpl<ZoneAllocationPolicy>
238 CustomMatcherZoneHashMap;
239
237 } // namespace internal 240 } // namespace internal
238 } // namespace v8 241 } // namespace v8
239 242
240 #endif // V8_ZONE_ZONE_H_ 243 #endif // V8_ZONE_ZONE_H_
OLDNEW
« no previous file with comments | « src/s390/simulator-s390.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698