File tree 2 files changed +15
-0
lines changed
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ cd "${src}/node-v${version}"
32
32
# patch -p1 < "${top}"/patch/gyp-libv8_monolith.patch
33
33
# patch -p1 < "${top}"/patch/py2-icutrim.patch
34
34
# patch -p1 < "${top}"/patch/py2-genv8constants.patch
35
+ patch -p1 < " ${top} " /patch/v8-no-assert-trivially-copyable.patch
35
36
patch -p1 < " ${top} " /patch/v8-disable-madv-dontfork.patch
36
37
patch -p1 < " ${top} " /patch/v8-disable-pkey.patch
37
38
Original file line number Diff line number Diff line change
1
+ diff --git a/deps/v8/src/base/small-vector.h b/deps/v8/src/base/small-vector.h
2
+ index edaab3a7a6..533a536178 100644
3
+ --- a/deps/v8/src/base/small-vector.h
4
+ +++ b/deps/v8/src/base/small-vector.h
5
+ @@ -20,9 +20,6 @@ namespace base {
6
+ // dynamic storage when it overflows.
7
+ template <typename T, size_t kSize, typename Allocator = std::allocator<T>>
8
+ class SmallVector {
9
+ - // Currently only support trivially copyable and trivially destructible data
10
+ - // types, as it uses memcpy to copy elements and never calls destructors.
11
+ - ASSERT_TRIVIALLY_COPYABLE(T);
12
+ static_assert(std::is_trivially_destructible<T>::value);
13
+
14
+ public:
You can’t perform that action at this time.
0 commit comments