We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdb765f commit a3d3a61Copy full SHA for a3d3a61
deps/v8/src/heap/ephemeron-remembered-set.h
@@ -5,7 +5,11 @@
5
#ifndef V8_HEAP_EPHEMERON_REMEMBERED_SET_H_
6
#define V8_HEAP_EPHEMERON_REMEMBERED_SET_H_
7
8
+#if defined(_MSVC_STL_VERSION)
9
+#include <map>
10
+#else
11
#include <unordered_map>
12
+#endif
13
#include <unordered_set>
14
15
#include "src/base/platform/mutex.h"
@@ -26,8 +30,13 @@ class EphemeronRememberedSet final {
26
30
kEphemeronTableListSegmentSize>;
27
31
28
32
using IndicesSet = std::unordered_set<int>;
33
34
+ using TableMap = std::map<Tagged<EphemeronHashTable>, IndicesSet,
35
+ Object::Comparer>;
36
29
37
using TableMap = std::unordered_map<Tagged<EphemeronHashTable>, IndicesSet,
38
Object::Hasher>;
39
40
41
void RecordEphemeronKeyWrite(Tagged<EphemeronHashTable> table,
42
Address key_slot);
0 commit comments