summaryrefslogtreecommitdiff
path: root/chromium/v8/src/zone/zone-hashmap.h
blob: e6a81e6363bec12c8d7f98cd7cc9ad98b8aa550f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef V8_ZONE_ZONE_HASHMAP_H_
#define V8_ZONE_ZONE_HASHMAP_H_

#include "src/base/hashmap.h"
#include "src/zone/zone.h"

namespace v8 {
namespace internal {

using ZoneHashMap = base::PointerTemplateHashMapImpl<ZoneAllocationPolicy>;

using CustomMatcherZoneHashMap =
    base::CustomMatcherTemplateHashMapImpl<ZoneAllocationPolicy>;

}  // namespace internal
}  // namespace v8

#endif  // V8_ZONE_ZONE_HASHMAP_H_