libv8-node 15.14.0.1-aarch64-linux → 16.10.0.0-aarch64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/libv8-node/location.rb +1 -1
- data/ext/libv8-node/paths.rb +1 -1
- data/lib/libv8/node/version.rb +3 -3
- data/vendor/v8/{out.gn → aarch64-linux}/libv8/obj/libv8_monolith.a +0 -0
- data/vendor/v8/include/cppgc/allocation.h +104 -45
- data/vendor/v8/include/cppgc/common.h +9 -6
- data/vendor/v8/include/cppgc/cross-thread-persistent.h +384 -0
- data/vendor/v8/include/cppgc/custom-space.h +37 -2
- data/vendor/v8/include/cppgc/default-platform.h +47 -48
- data/vendor/v8/include/cppgc/ephemeron-pair.h +30 -0
- data/vendor/v8/include/cppgc/explicit-management.h +82 -0
- data/vendor/v8/include/cppgc/garbage-collected.h +4 -3
- data/vendor/v8/include/cppgc/heap-consistency.h +236 -0
- data/vendor/v8/include/cppgc/heap-state.h +70 -0
- data/vendor/v8/include/cppgc/heap-statistics.h +120 -0
- data/vendor/v8/include/cppgc/heap.h +68 -6
- data/vendor/v8/include/cppgc/internal/api-constants.h +3 -3
- data/vendor/v8/include/cppgc/internal/caged-heap-local-data.h +2 -1
- data/vendor/v8/include/cppgc/internal/compiler-specific.h +2 -2
- data/vendor/v8/include/cppgc/internal/gc-info.h +44 -13
- data/vendor/v8/include/cppgc/internal/name-trait.h +111 -0
- data/vendor/v8/include/cppgc/internal/persistent-node.h +57 -1
- data/vendor/v8/include/cppgc/internal/pointer-policies.h +69 -28
- data/vendor/v8/include/cppgc/internal/prefinalizer-handler.h +1 -1
- data/vendor/v8/include/cppgc/internal/write-barrier.h +353 -35
- data/vendor/v8/include/cppgc/liveness-broker.h +7 -1
- data/vendor/v8/include/cppgc/macros.h +2 -0
- data/vendor/v8/include/cppgc/member.h +85 -25
- data/vendor/v8/include/cppgc/name-provider.h +65 -0
- data/vendor/v8/include/cppgc/object-size-trait.h +58 -0
- data/vendor/v8/include/cppgc/persistent.h +33 -9
- data/vendor/v8/include/cppgc/platform.h +48 -25
- data/vendor/v8/include/cppgc/prefinalizer.h +1 -1
- data/vendor/v8/include/cppgc/process-heap-statistics.h +36 -0
- data/vendor/v8/include/cppgc/sentinel-pointer.h +32 -0
- data/vendor/v8/include/cppgc/source-location.h +2 -1
- data/vendor/v8/include/cppgc/testing.h +99 -0
- data/vendor/v8/include/cppgc/trace-trait.h +8 -3
- data/vendor/v8/include/cppgc/type-traits.h +157 -19
- data/vendor/v8/include/cppgc/visitor.h +187 -23
- data/vendor/v8/include/libplatform/libplatform.h +11 -0
- data/vendor/v8/include/libplatform/v8-tracing.h +2 -0
- data/vendor/v8/include/v8-cppgc.h +258 -159
- data/vendor/v8/include/v8-fast-api-calls.h +562 -159
- data/vendor/v8/include/v8-inspector.h +23 -2
- data/vendor/v8/include/v8-internal.h +99 -27
- data/vendor/v8/include/v8-metrics.h +77 -8
- data/vendor/v8/include/v8-platform.h +47 -22
- data/vendor/v8/include/v8-profiler.h +75 -11
- data/vendor/v8/include/v8-unwinder-state.h +30 -0
- data/vendor/v8/include/v8-util.h +1 -1
- data/vendor/v8/include/v8-version.h +4 -4
- data/vendor/v8/include/v8.h +1192 -642
- data/vendor/v8/include/v8config.h +40 -9
- metadata +17 -5
- data/vendor/v8/include/cppgc/internal/process-heap.h +0 -34
@@ -5,6 +5,14 @@
|
|
5
5
|
#ifndef V8CONFIG_H_
|
6
6
|
#define V8CONFIG_H_
|
7
7
|
|
8
|
+
#ifdef V8_GN_HEADER
|
9
|
+
#if __cplusplus >= 201703L && !__has_include("v8-gn.h")
|
10
|
+
#error Missing v8-gn.h. The configuration for v8 is missing from the include \
|
11
|
+
path. Add it with -I<path> to the command line
|
12
|
+
#endif
|
13
|
+
#include "v8-gn.h" // NOLINT(build/include_directory)
|
14
|
+
#endif
|
15
|
+
|
8
16
|
// clang-format off
|
9
17
|
|
10
18
|
// Platform headers for feature detection below.
|
@@ -70,6 +78,7 @@
|
|
70
78
|
// V8_OS_POSIX - POSIX compatible (mostly everything except Windows)
|
71
79
|
// V8_OS_QNX - QNX Neutrino
|
72
80
|
// V8_OS_SOLARIS - Sun Solaris and OpenSolaris
|
81
|
+
// V8_OS_STARBOARD - Starboard (platform abstraction for Cobalt)
|
73
82
|
// V8_OS_AIX - AIX
|
74
83
|
// V8_OS_WIN - Microsoft Windows
|
75
84
|
|
@@ -93,6 +102,8 @@
|
|
93
102
|
#elif defined(__sun)
|
94
103
|
# define V8_OS_POSIX 1
|
95
104
|
# define V8_OS_SOLARIS 1
|
105
|
+
#elif defined(STARBOARD)
|
106
|
+
# define V8_OS_STARBOARD 1
|
96
107
|
#elif defined(_AIX)
|
97
108
|
#define V8_OS_POSIX 1
|
98
109
|
#define V8_OS_AIX 1
|
@@ -236,6 +247,7 @@
|
|
236
247
|
// V8_HAS_ATTRIBUTE_VISIBILITY - __attribute__((visibility)) supported
|
237
248
|
// V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT - __attribute__((warn_unused_result))
|
238
249
|
// supported
|
250
|
+
// V8_HAS_CPP_ATTRIBUTE_NODISCARD - [[nodiscard]] supported
|
239
251
|
// V8_HAS_BUILTIN_BSWAP16 - __builtin_bswap16() supported
|
240
252
|
// V8_HAS_BUILTIN_BSWAP32 - __builtin_bswap32() supported
|
241
253
|
// V8_HAS_BUILTIN_BSWAP64 - __builtin_bswap64() supported
|
@@ -259,6 +271,12 @@
|
|
259
271
|
// ...
|
260
272
|
// #endif
|
261
273
|
|
274
|
+
#if defined(__has_cpp_attribute)
|
275
|
+
#define V8_HAS_CPP_ATTRIBUTE(FEATURE) __has_cpp_attribute(FEATURE)
|
276
|
+
#else
|
277
|
+
#define V8_HAS_CPP_ATTRIBUTE(FEATURE) 0
|
278
|
+
#endif
|
279
|
+
|
262
280
|
#if defined(__clang__)
|
263
281
|
|
264
282
|
#if defined(__GNUC__) // Clang in gcc mode.
|
@@ -273,6 +291,8 @@
|
|
273
291
|
# define V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT \
|
274
292
|
(__has_attribute(warn_unused_result))
|
275
293
|
|
294
|
+
# define V8_HAS_CPP_ATTRIBUTE_NODISCARD (V8_HAS_CPP_ATTRIBUTE(nodiscard))
|
295
|
+
|
276
296
|
# define V8_HAS_BUILTIN_ASSUME_ALIGNED (__has_builtin(__builtin_assume_aligned))
|
277
297
|
# define V8_HAS_BUILTIN_BSWAP16 (__has_builtin(__builtin_bswap16))
|
278
298
|
# define V8_HAS_BUILTIN_BSWAP32 (__has_builtin(__builtin_bswap32))
|
@@ -290,10 +310,6 @@
|
|
290
310
|
// GCC doc: https://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html
|
291
311
|
# define V8_HAS_COMPUTED_GOTO 1
|
292
312
|
|
293
|
-
// Whether constexpr has full C++14 semantics, in particular that non-constexpr
|
294
|
-
// code is allowed as long as it's not executed for any constexpr instantiation.
|
295
|
-
# define V8_HAS_CXX14_CONSTEXPR 1
|
296
|
-
|
297
313
|
#elif defined(__GNUC__)
|
298
314
|
|
299
315
|
# define V8_CC_GNU 1
|
@@ -317,6 +333,10 @@
|
|
317
333
|
# define V8_HAS_ATTRIBUTE_VISIBILITY 1
|
318
334
|
# define V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT (!V8_CC_INTEL)
|
319
335
|
|
336
|
+
// [[nodiscard]] does not work together with with
|
337
|
+
// __attribute__((visibility(""))) on GCC 7.4 which is why there is no define
|
338
|
+
// for V8_HAS_CPP_ATTRIBUTE_NODISCARD. See https://crbug.com/v8/11707.
|
339
|
+
|
320
340
|
# define V8_HAS_BUILTIN_ASSUME_ALIGNED 1
|
321
341
|
# define V8_HAS_BUILTIN_CLZ 1
|
322
342
|
# define V8_HAS_BUILTIN_CTZ 1
|
@@ -327,11 +347,6 @@
|
|
327
347
|
// GCC doc: https://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html
|
328
348
|
#define V8_HAS_COMPUTED_GOTO 1
|
329
349
|
|
330
|
-
// Whether constexpr has full C++14 semantics, in particular that non-constexpr
|
331
|
-
// code is allowed as long as it's not executed for any constexpr instantiation.
|
332
|
-
// GCC only supports this since version 6.
|
333
|
-
# define V8_HAS_CXX14_CONSTEXPR (V8_GNUC_PREREQ(6, 0, 0))
|
334
|
-
|
335
350
|
#endif
|
336
351
|
|
337
352
|
#if defined(_MSC_VER)
|
@@ -433,6 +448,20 @@
|
|
433
448
|
#define V8_WARN_UNUSED_RESULT /* NOT SUPPORTED */
|
434
449
|
#endif
|
435
450
|
|
451
|
+
|
452
|
+
// Annotate a class or constructor indicating the caller must assign the
|
453
|
+
// constructed instances.
|
454
|
+
// Apply to the whole class like:
|
455
|
+
// class V8_NODISCARD Foo() { ... };
|
456
|
+
// or apply to just one constructor like:
|
457
|
+
// V8_NODISCARD Foo() { ... };
|
458
|
+
// [[nodiscard]] comes in C++17 but supported in clang with -std >= c++11.
|
459
|
+
#if V8_HAS_CPP_ATTRIBUTE_NODISCARD
|
460
|
+
#define V8_NODISCARD [[nodiscard]]
|
461
|
+
#else
|
462
|
+
#define V8_NODISCARD /* NOT SUPPORTED */
|
463
|
+
#endif
|
464
|
+
|
436
465
|
// Helper macro to define no_sanitize attributes only with clang.
|
437
466
|
#if defined(__clang__) && defined(__has_attribute)
|
438
467
|
#if __has_attribute(no_sanitize)
|
@@ -481,4 +510,6 @@ V8 shared library set USING_V8_SHARED.
|
|
481
510
|
|
482
511
|
// clang-format on
|
483
512
|
|
513
|
+
#undef V8_HAS_CPP_ATTRIBUTE
|
514
|
+
|
484
515
|
#endif // V8CONFIG_H_
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libv8-node
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 16.10.0.0
|
5
5
|
platform: aarch64-linux
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -51,11 +51,18 @@ files:
|
|
51
51
|
- lib/libv8-node.rb
|
52
52
|
- lib/libv8/node.rb
|
53
53
|
- lib/libv8/node/version.rb
|
54
|
+
- vendor/v8/aarch64-linux/libv8/obj/libv8_monolith.a
|
54
55
|
- vendor/v8/include/cppgc/allocation.h
|
55
56
|
- vendor/v8/include/cppgc/common.h
|
57
|
+
- vendor/v8/include/cppgc/cross-thread-persistent.h
|
56
58
|
- vendor/v8/include/cppgc/custom-space.h
|
57
59
|
- vendor/v8/include/cppgc/default-platform.h
|
60
|
+
- vendor/v8/include/cppgc/ephemeron-pair.h
|
61
|
+
- vendor/v8/include/cppgc/explicit-management.h
|
58
62
|
- vendor/v8/include/cppgc/garbage-collected.h
|
63
|
+
- vendor/v8/include/cppgc/heap-consistency.h
|
64
|
+
- vendor/v8/include/cppgc/heap-state.h
|
65
|
+
- vendor/v8/include/cppgc/heap-statistics.h
|
59
66
|
- vendor/v8/include/cppgc/heap.h
|
60
67
|
- vendor/v8/include/cppgc/internal/api-constants.h
|
61
68
|
- vendor/v8/include/cppgc/internal/atomic-entry-flag.h
|
@@ -64,18 +71,23 @@ files:
|
|
64
71
|
- vendor/v8/include/cppgc/internal/finalizer-trait.h
|
65
72
|
- vendor/v8/include/cppgc/internal/gc-info.h
|
66
73
|
- vendor/v8/include/cppgc/internal/logging.h
|
74
|
+
- vendor/v8/include/cppgc/internal/name-trait.h
|
67
75
|
- vendor/v8/include/cppgc/internal/persistent-node.h
|
68
76
|
- vendor/v8/include/cppgc/internal/pointer-policies.h
|
69
77
|
- vendor/v8/include/cppgc/internal/prefinalizer-handler.h
|
70
|
-
- vendor/v8/include/cppgc/internal/process-heap.h
|
71
78
|
- vendor/v8/include/cppgc/internal/write-barrier.h
|
72
79
|
- vendor/v8/include/cppgc/liveness-broker.h
|
73
80
|
- vendor/v8/include/cppgc/macros.h
|
74
81
|
- vendor/v8/include/cppgc/member.h
|
82
|
+
- vendor/v8/include/cppgc/name-provider.h
|
83
|
+
- vendor/v8/include/cppgc/object-size-trait.h
|
75
84
|
- vendor/v8/include/cppgc/persistent.h
|
76
85
|
- vendor/v8/include/cppgc/platform.h
|
77
86
|
- vendor/v8/include/cppgc/prefinalizer.h
|
87
|
+
- vendor/v8/include/cppgc/process-heap-statistics.h
|
88
|
+
- vendor/v8/include/cppgc/sentinel-pointer.h
|
78
89
|
- vendor/v8/include/cppgc/source-location.h
|
90
|
+
- vendor/v8/include/cppgc/testing.h
|
79
91
|
- vendor/v8/include/cppgc/trace-trait.h
|
80
92
|
- vendor/v8/include/cppgc/type-traits.h
|
81
93
|
- vendor/v8/include/cppgc/visitor.h
|
@@ -90,6 +102,7 @@ files:
|
|
90
102
|
- vendor/v8/include/v8-metrics.h
|
91
103
|
- vendor/v8/include/v8-platform.h
|
92
104
|
- vendor/v8/include/v8-profiler.h
|
105
|
+
- vendor/v8/include/v8-unwinder-state.h
|
93
106
|
- vendor/v8/include/v8-util.h
|
94
107
|
- vendor/v8/include/v8-value-serializer-version.h
|
95
108
|
- vendor/v8/include/v8-version-string.h
|
@@ -98,8 +111,7 @@ files:
|
|
98
111
|
- vendor/v8/include/v8-wasm-trap-handler-win.h
|
99
112
|
- vendor/v8/include/v8.h
|
100
113
|
- vendor/v8/include/v8config.h
|
101
|
-
|
102
|
-
homepage: https://github.com/sqreen/libv8-node
|
114
|
+
homepage: https://github.com/sqreen/ruby-libv8-node
|
103
115
|
licenses:
|
104
116
|
- MIT
|
105
117
|
metadata: {}
|
@@ -1,34 +0,0 @@
|
|
1
|
-
// Copyright 2020 the V8 project authors. All rights reserved.
|
2
|
-
// Use of this source code is governed by a BSD-style license that can be
|
3
|
-
// found in the LICENSE file.
|
4
|
-
|
5
|
-
#ifndef INCLUDE_CPPGC_INTERNAL_PROCESS_HEAP_H_
|
6
|
-
#define INCLUDE_CPPGC_INTERNAL_PROCESS_HEAP_H_
|
7
|
-
|
8
|
-
#include "cppgc/internal/atomic-entry-flag.h"
|
9
|
-
#include "v8config.h" // NOLINT(build/include_directory)
|
10
|
-
|
11
|
-
namespace cppgc {
|
12
|
-
namespace internal {
|
13
|
-
|
14
|
-
class V8_EXPORT ProcessHeap final {
|
15
|
-
public:
|
16
|
-
static void EnterIncrementalOrConcurrentMarking() {
|
17
|
-
concurrent_marking_flag_.Enter();
|
18
|
-
}
|
19
|
-
static void ExitIncrementalOrConcurrentMarking() {
|
20
|
-
concurrent_marking_flag_.Exit();
|
21
|
-
}
|
22
|
-
|
23
|
-
static bool IsAnyIncrementalOrConcurrentMarking() {
|
24
|
-
return concurrent_marking_flag_.MightBeEntered();
|
25
|
-
}
|
26
|
-
|
27
|
-
private:
|
28
|
-
static AtomicEntryFlag concurrent_marking_flag_;
|
29
|
-
};
|
30
|
-
|
31
|
-
} // namespace internal
|
32
|
-
} // namespace cppgc
|
33
|
-
|
34
|
-
#endif // INCLUDE_CPPGC_INTERNAL_PROCESS_HEAP_H_
|