File tree 4 files changed +0
-27
lines changed
4 files changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -155,30 +155,6 @@ class GlobalHandles;
155
155
} // namespace internal
156
156
157
157
158
- /**
159
- * General purpose unique identifier.
160
- */
161
- class UniqueId {
162
- public:
163
- explicit UniqueId(intptr_t data)
164
- : data_(data) {}
165
-
166
- bool operator==(const UniqueId& other) const {
167
- return data_ == other.data_;
168
- }
169
-
170
- bool operator!=(const UniqueId& other) const {
171
- return data_ != other.data_;
172
- }
173
-
174
- bool operator<(const UniqueId& other) const {
175
- return data_ < other.data_;
176
- }
177
-
178
- private:
179
- intptr_t data_;
180
- };
181
-
182
158
// --- Handles ---
183
159
184
160
#define TYPE_CHECK(T, S) \
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ using ::v8::String;
38
38
using ::v8::Symbol;
39
39
using ::v8::TryCatch;
40
40
using ::v8::Undefined;
41
- using ::v8::UniqueId;
42
41
using ::v8::V8;
43
42
using ::v8::Value;
44
43
Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ using ::v8::String;
82
82
using ::v8::Symbol;
83
83
using ::v8::TryCatch;
84
84
using ::v8::Undefined;
85
- using ::v8::UniqueId;
86
85
using ::v8::V8;
87
86
using ::v8::Value;
88
87
Original file line number Diff line number Diff line change 34
34
#include " test/cctest/cctest.h"
35
35
36
36
using namespace v8 ::internal;
37
- using v8::UniqueId;
38
37
39
38
TEST (EternalHandles) {
40
39
CcTest::InitializeVM ();
You can’t perform that action at this time.
0 commit comments