libv8-node 21.7.2.0-aarch64-linux → 22.5.1.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/lib/libv8/node/version.rb +3 -3
- data/vendor/v8/aarch64-linux/libv8/obj/libv8_monolith.a +0 -0
- data/vendor/v8/include/cppgc/internal/api-constants.h +1 -1
- data/vendor/v8/include/cppgc/type-traits.h +25 -4
- data/vendor/v8/include/v8-array-buffer.h +6 -0
- data/vendor/v8/include/v8-callbacks.h +6 -12
- data/vendor/v8/include/v8-container.h +54 -0
- data/vendor/v8/include/v8-context.h +51 -22
- data/vendor/v8/include/v8-embedder-heap.h +19 -3
- data/vendor/v8/include/v8-embedder-state-scope.h +2 -1
- data/vendor/v8/include/v8-exception.h +15 -9
- data/vendor/v8/include/v8-fast-api-calls.h +35 -26
- data/vendor/v8/include/v8-forward.h +1 -0
- data/vendor/v8/include/v8-function-callback.h +129 -20
- data/vendor/v8/include/v8-handle-base.h +32 -80
- data/vendor/v8/include/v8-inspector.h +16 -24
- data/vendor/v8/include/v8-internal.h +472 -65
- data/vendor/v8/include/v8-isolate.h +86 -51
- data/vendor/v8/include/v8-local-handle.h +257 -31
- data/vendor/v8/include/v8-memory-span.h +157 -2
- data/vendor/v8/include/v8-message.h +22 -3
- data/vendor/v8/include/v8-metrics.h +1 -0
- data/vendor/v8/include/v8-object.h +29 -10
- data/vendor/v8/include/v8-persistent-handle.h +5 -3
- data/vendor/v8/include/v8-platform.h +81 -44
- data/vendor/v8/include/v8-script.h +61 -11
- data/vendor/v8/include/v8-snapshot.h +94 -23
- data/vendor/v8/include/v8-statistics.h +10 -24
- data/vendor/v8/include/v8-template.h +410 -131
- data/vendor/v8/include/v8-traced-handle.h +81 -46
- data/vendor/v8/include/v8-typed-array.h +115 -7
- data/vendor/v8/include/v8-util.h +13 -12
- data/vendor/v8/include/v8-value.h +92 -4
- data/vendor/v8/include/v8-version.h +4 -4
- data/vendor/v8/include/v8config.h +35 -10
- metadata +2 -2
@@ -13,6 +13,7 @@ path. Add it with -I<path> to the command line
|
|
13
13
|
#include "v8-gn.h" // NOLINT(build/include_directory)
|
14
14
|
#endif
|
15
15
|
|
16
|
+
#include <memory>
|
16
17
|
// clang-format off
|
17
18
|
|
18
19
|
// Platform headers for feature detection below.
|
@@ -297,12 +298,16 @@ path. Add it with -I<path> to the command line
|
|
297
298
|
// V8_HAS_ATTRIBUTE_NONNULL - __attribute__((nonnull)) supported
|
298
299
|
// V8_HAS_ATTRIBUTE_NOINLINE - __attribute__((noinline)) supported
|
299
300
|
// V8_HAS_ATTRIBUTE_UNUSED - __attribute__((unused)) supported
|
301
|
+
// V8_HAS_ATTRIBUTE_USED - __attribute__((used)) supported
|
302
|
+
// V8_HAS_ATTRIBUTE_RETAIN - __attribute__((retain)) supported
|
300
303
|
// V8_HAS_ATTRIBUTE_VISIBILITY - __attribute__((visibility)) supported
|
301
304
|
// V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT - __attribute__((warn_unused_result))
|
302
305
|
// supported
|
303
306
|
// V8_HAS_CPP_ATTRIBUTE_NODISCARD - [[nodiscard]] supported
|
304
307
|
// V8_HAS_CPP_ATTRIBUTE_NO_UNIQUE_ADDRESS
|
305
308
|
// - [[no_unique_address]] supported
|
309
|
+
// V8_HAS_BUILTIN_ADD_OVERFLOW - __builtin_add_overflow() supported
|
310
|
+
// V8_HAS_BUILTIN_BIT_CAST - __builtin_bit_cast() supported
|
306
311
|
// V8_HAS_BUILTIN_BSWAP16 - __builtin_bswap16() supported
|
307
312
|
// V8_HAS_BUILTIN_BSWAP32 - __builtin_bswap32() supported
|
308
313
|
// V8_HAS_BUILTIN_BSWAP64 - __builtin_bswap64() supported
|
@@ -310,14 +315,13 @@ path. Add it with -I<path> to the command line
|
|
310
315
|
// V8_HAS_BUILTIN_CTZ - __builtin_ctz() supported
|
311
316
|
// V8_HAS_BUILTIN_EXPECT - __builtin_expect() supported
|
312
317
|
// V8_HAS_BUILTIN_FRAME_ADDRESS - __builtin_frame_address() supported
|
313
|
-
// V8_HAS_BUILTIN_POPCOUNT - __builtin_popcount() supported
|
314
|
-
// V8_HAS_BUILTIN_ADD_OVERFLOW - __builtin_add_overflow() supported
|
315
|
-
// V8_HAS_BUILTIN_SUB_OVERFLOW - __builtin_sub_overflow() supported
|
316
318
|
// V8_HAS_BUILTIN_MUL_OVERFLOW - __builtin_mul_overflow() supported
|
319
|
+
// V8_HAS_BUILTIN_POPCOUNT - __builtin_popcount() supported
|
317
320
|
// V8_HAS_BUILTIN_SADD_OVERFLOW - __builtin_sadd_overflow() supported
|
321
|
+
// V8_HAS_BUILTIN_SMUL_OVERFLOW - __builtin_smul_overflow() supported
|
318
322
|
// V8_HAS_BUILTIN_SSUB_OVERFLOW - __builtin_ssub_overflow() supported
|
323
|
+
// V8_HAS_BUILTIN_SUB_OVERFLOW - __builtin_sub_overflow() supported
|
319
324
|
// V8_HAS_BUILTIN_UADD_OVERFLOW - __builtin_uadd_overflow() supported
|
320
|
-
// V8_HAS_BUILTIN_SMUL_OVERFLOW - __builtin_smul_overflow() supported
|
321
325
|
// V8_HAS_COMPUTED_GOTO - computed goto/labels as values
|
322
326
|
// supported
|
323
327
|
// V8_HAS_DECLSPEC_NOINLINE - __declspec(noinline) supported
|
@@ -349,6 +353,8 @@ path. Add it with -I<path> to the command line
|
|
349
353
|
# define V8_HAS_ATTRIBUTE_NONNULL (__has_attribute(nonnull))
|
350
354
|
# define V8_HAS_ATTRIBUTE_NOINLINE (__has_attribute(noinline))
|
351
355
|
# define V8_HAS_ATTRIBUTE_UNUSED (__has_attribute(unused))
|
356
|
+
# define V8_HAS_ATTRIBUTE_USED (__has_attribute(used))
|
357
|
+
# define V8_HAS_ATTRIBUTE_RETAIN (__has_attribute(retain))
|
352
358
|
// Support for the "preserve_most" attribute is limited:
|
353
359
|
// - 32-bit platforms do not implement it,
|
354
360
|
// - component builds fail because _dl_runtime_resolve clobbers registers,
|
@@ -373,8 +379,10 @@ path. Add it with -I<path> to the command line
|
|
373
379
|
# define V8_HAS_CPP_ATTRIBUTE_NO_UNIQUE_ADDRESS \
|
374
380
|
(V8_HAS_CPP_ATTRIBUTE(no_unique_address))
|
375
381
|
|
382
|
+
# define V8_HAS_BUILTIN_ADD_OVERFLOW (__has_builtin(__builtin_add_overflow))
|
376
383
|
# define V8_HAS_BUILTIN_ASSUME (__has_builtin(__builtin_assume))
|
377
384
|
# define V8_HAS_BUILTIN_ASSUME_ALIGNED (__has_builtin(__builtin_assume_aligned))
|
385
|
+
# define V8_HAS_BUILTIN_BIT_CAST (__has_builtin(__builtin_bit_cast))
|
378
386
|
# define V8_HAS_BUILTIN_BSWAP16 (__has_builtin(__builtin_bswap16))
|
379
387
|
# define V8_HAS_BUILTIN_BSWAP32 (__has_builtin(__builtin_bswap32))
|
380
388
|
# define V8_HAS_BUILTIN_BSWAP64 (__has_builtin(__builtin_bswap64))
|
@@ -382,14 +390,13 @@ path. Add it with -I<path> to the command line
|
|
382
390
|
# define V8_HAS_BUILTIN_CTZ (__has_builtin(__builtin_ctz))
|
383
391
|
# define V8_HAS_BUILTIN_EXPECT (__has_builtin(__builtin_expect))
|
384
392
|
# define V8_HAS_BUILTIN_FRAME_ADDRESS (__has_builtin(__builtin_frame_address))
|
385
|
-
# define V8_HAS_BUILTIN_POPCOUNT (__has_builtin(__builtin_popcount))
|
386
|
-
# define V8_HAS_BUILTIN_ADD_OVERFLOW (__has_builtin(__builtin_add_overflow))
|
387
|
-
# define V8_HAS_BUILTIN_SUB_OVERFLOW (__has_builtin(__builtin_sub_overflow))
|
388
393
|
# define V8_HAS_BUILTIN_MUL_OVERFLOW (__has_builtin(__builtin_mul_overflow))
|
394
|
+
# define V8_HAS_BUILTIN_POPCOUNT (__has_builtin(__builtin_popcount))
|
389
395
|
# define V8_HAS_BUILTIN_SADD_OVERFLOW (__has_builtin(__builtin_sadd_overflow))
|
396
|
+
# define V8_HAS_BUILTIN_SMUL_OVERFLOW (__has_builtin(__builtin_smul_overflow))
|
390
397
|
# define V8_HAS_BUILTIN_SSUB_OVERFLOW (__has_builtin(__builtin_ssub_overflow))
|
398
|
+
# define V8_HAS_BUILTIN_SUB_OVERFLOW (__has_builtin(__builtin_sub_overflow))
|
391
399
|
# define V8_HAS_BUILTIN_UADD_OVERFLOW (__has_builtin(__builtin_uadd_overflow))
|
392
|
-
# define V8_HAS_BUILTIN_SMUL_OVERFLOW (__has_builtin(__builtin_smul_overflow))
|
393
400
|
# define V8_HAS_BUILTIN_UNREACHABLE (__has_builtin(__builtin_unreachable))
|
394
401
|
|
395
402
|
// Clang has no __has_feature for computed gotos.
|
@@ -410,6 +417,11 @@ path. Add it with -I<path> to the command line
|
|
410
417
|
# endif
|
411
418
|
# define V8_CC_MINGW (V8_CC_MINGW32 || V8_CC_MINGW64)
|
412
419
|
|
420
|
+
// FYI: __has_builtin is only available with GCC 10 and later, so explicitly
|
421
|
+
// check GCC version numbers to enable features. TODO(leszeks): Merge feature
|
422
|
+
// enabling for GCC 10 and later into the Clang section above, and leave this
|
423
|
+
// section for GCC 9 and earlier.
|
424
|
+
|
413
425
|
// always_inline is available in gcc 4.0 but not very reliable until 4.4.
|
414
426
|
// Works around "sorry, unimplemented: inlining failed" build errors with
|
415
427
|
// older compilers.
|
@@ -425,6 +437,9 @@ path. Add it with -I<path> to the command line
|
|
425
437
|
// for V8_HAS_CPP_ATTRIBUTE_NODISCARD. See https://crbug.com/v8/11707.
|
426
438
|
|
427
439
|
# define V8_HAS_BUILTIN_ASSUME_ALIGNED 1
|
440
|
+
# if __GNUC__ >= 11
|
441
|
+
# define V8_HAS_BUILTIN_BIT_CAST 1
|
442
|
+
# endif
|
428
443
|
# define V8_HAS_BUILTIN_CLZ 1
|
429
444
|
# define V8_HAS_BUILTIN_CTZ 1
|
430
445
|
# define V8_HAS_BUILTIN_EXPECT 1
|
@@ -476,14 +491,17 @@ path. Add it with -I<path> to the command line
|
|
476
491
|
# define V8_ASSUME USE
|
477
492
|
#endif
|
478
493
|
|
479
|
-
|
494
|
+
// Prefer c++20 std::assume_aligned
|
495
|
+
#if __cplusplus >= 202002L && defined(__cpp_lib_assume_aligned)
|
496
|
+
# define V8_ASSUME_ALIGNED(ptr, alignment) \
|
497
|
+
std::assume_aligned<(alignment)>(ptr)
|
498
|
+
#elif V8_HAS_BUILTIN_ASSUME_ALIGNED
|
480
499
|
# define V8_ASSUME_ALIGNED(ptr, alignment) \
|
481
500
|
__builtin_assume_aligned((ptr), (alignment))
|
482
501
|
#else
|
483
502
|
# define V8_ASSUME_ALIGNED(ptr, alignment) (ptr)
|
484
503
|
#endif
|
485
504
|
|
486
|
-
|
487
505
|
// A macro to mark functions whose values don't change (e.g. across calls)
|
488
506
|
// and thereby compiler is free to hoist and fold multiple calls together.
|
489
507
|
// Use like:
|
@@ -678,10 +696,12 @@ path. Add it with -I<path> to the command line
|
|
678
696
|
#if defined(__clang__) && defined(__has_attribute)
|
679
697
|
#if __has_attribute(trivial_abi)
|
680
698
|
#define V8_TRIVIAL_ABI [[clang::trivial_abi]]
|
699
|
+
#define V8_HAS_ATTRIBUTE_TRIVIAL_ABI 1
|
681
700
|
#endif // __has_attribute(trivial_abi)
|
682
701
|
#endif // defined(__clang__) && defined(__has_attribute)
|
683
702
|
#if !defined(V8_TRIVIAL_ABI)
|
684
703
|
#define V8_TRIVIAL_ABI
|
704
|
+
#define V8_HAS_ATTRIBUTE_TRIVIAL_ABI 0
|
685
705
|
#endif //!defined(V8_TRIVIAL_ABI)
|
686
706
|
|
687
707
|
// Helper macro to define no_sanitize attributes only with clang.
|
@@ -694,6 +714,11 @@ path. Add it with -I<path> to the command line
|
|
694
714
|
#define V8_CLANG_NO_SANITIZE(what)
|
695
715
|
#endif
|
696
716
|
|
717
|
+
// Exposing private symbols requires exposing public symbols too.
|
718
|
+
#ifdef BUILDING_V8_SHARED_PRIVATE
|
719
|
+
#define BUILDING_V8_SHARED
|
720
|
+
#endif
|
721
|
+
|
697
722
|
#if defined(BUILDING_V8_SHARED) && defined(USING_V8_SHARED)
|
698
723
|
#error Inconsistent build configuration: To build the V8 shared library \
|
699
724
|
set BUILDING_V8_SHARED, to include its headers for linking against the \
|
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: 22.5.1.0
|
5
5
|
platform: aarch64-linux
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|