libv8-node 20.12.1.0-aarch64-linux → 21.7.2.0-aarch64-linux

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/lib/libv8/node/version.rb +3 -3
  3. data/vendor/v8/aarch64-linux/libv8/obj/libv8_monolith.a +0 -0
  4. data/vendor/v8/include/cppgc/internal/api-constants.h +23 -4
  5. data/vendor/v8/include/cppgc/internal/caged-heap-local-data.h +16 -6
  6. data/vendor/v8/include/cppgc/internal/caged-heap.h +12 -5
  7. data/vendor/v8/include/cppgc/internal/gc-info.h +82 -91
  8. data/vendor/v8/include/cppgc/internal/member-storage.h +16 -8
  9. data/vendor/v8/include/cppgc/member.h +25 -0
  10. data/vendor/v8/include/cppgc/persistent.h +4 -0
  11. data/vendor/v8/include/cppgc/platform.h +6 -1
  12. data/vendor/v8/include/cppgc/sentinel-pointer.h +7 -0
  13. data/vendor/v8/include/cppgc/source-location.h +2 -78
  14. data/vendor/v8/include/cppgc/trace-trait.h +8 -0
  15. data/vendor/v8/include/cppgc/visitor.h +82 -4
  16. data/vendor/v8/include/libplatform/libplatform.h +7 -1
  17. data/vendor/v8/include/v8-callbacks.h +52 -8
  18. data/vendor/v8/include/v8-context.h +10 -13
  19. data/vendor/v8/include/v8-embedder-heap.h +12 -0
  20. data/vendor/v8/include/v8-fast-api-calls.h +23 -5
  21. data/vendor/v8/include/v8-function-callback.h +11 -15
  22. data/vendor/v8/include/v8-function.h +6 -0
  23. data/vendor/v8/include/v8-handle-base.h +185 -0
  24. data/vendor/v8/include/v8-inspector.h +31 -1
  25. data/vendor/v8/include/v8-internal.h +109 -77
  26. data/vendor/v8/include/v8-isolate.h +130 -89
  27. data/vendor/v8/include/v8-local-handle.h +134 -89
  28. data/vendor/v8/include/v8-object.h +71 -69
  29. data/vendor/v8/include/v8-persistent-handle.h +65 -89
  30. data/vendor/v8/include/v8-platform.h +140 -9
  31. data/vendor/v8/include/v8-primitive.h +12 -8
  32. data/vendor/v8/include/v8-profiler.h +16 -2
  33. data/vendor/v8/include/v8-script.h +27 -3
  34. data/vendor/v8/include/v8-snapshot.h +4 -1
  35. data/vendor/v8/include/v8-source-location.h +92 -0
  36. data/vendor/v8/include/v8-statistics.h +36 -1
  37. data/vendor/v8/include/v8-traced-handle.h +37 -54
  38. data/vendor/v8/include/v8-unwinder.h +1 -1
  39. data/vendor/v8/include/v8-util.h +15 -13
  40. data/vendor/v8/include/v8-value-serializer.h +14 -0
  41. data/vendor/v8/include/v8-value.h +14 -0
  42. data/vendor/v8/include/v8-version.h +3 -3
  43. data/vendor/v8/include/v8config.h +19 -10
  44. metadata +4 -2
@@ -367,6 +367,7 @@ path. Add it with -I<path> to the command line
367
367
  # define V8_HAS_ATTRIBUTE_VISIBILITY (__has_attribute(visibility))
368
368
  # define V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT \
369
369
  (__has_attribute(warn_unused_result))
370
+ # define V8_HAS_ATTRIBUTE_WEAK (__has_attribute(weak))
370
371
 
371
372
  # define V8_HAS_CPP_ATTRIBUTE_NODISCARD (V8_HAS_CPP_ATTRIBUTE(nodiscard))
372
373
  # define V8_HAS_CPP_ATTRIBUTE_NO_UNIQUE_ADDRESS \
@@ -417,6 +418,7 @@ path. Add it with -I<path> to the command line
417
418
  # define V8_HAS_ATTRIBUTE_UNUSED 1
418
419
  # define V8_HAS_ATTRIBUTE_VISIBILITY 1
419
420
  # define V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT (!V8_CC_INTEL)
421
+ # define V8_HAS_ATTRIBUTE_WEAK 1
420
422
 
421
423
  // [[nodiscard]] does not work together with with
422
424
  // __attribute__((visibility(""))) on GCC 7.4 which is why there is no define
@@ -462,14 +464,16 @@ path. Add it with -I<path> to the command line
462
464
 
463
465
  #ifdef DEBUG
464
466
  // In debug mode, check assumptions instead of actually adding annotations.
465
- # define V8_ASSUME(condition) DCHECK(condition)
467
+ # define V8_ASSUME DCHECK
466
468
  #elif V8_HAS_BUILTIN_ASSUME
467
- # define V8_ASSUME(condition) __builtin_assume(condition)
469
+ # define V8_ASSUME __builtin_assume
468
470
  #elif V8_HAS_BUILTIN_UNREACHABLE
469
- # define V8_ASSUME(condition) \
470
- do { if (!(condition)) __builtin_unreachable(); } while (false)
471
+ # define V8_ASSUME(condition) \
472
+ do { \
473
+ if (!(condition)) __builtin_unreachable(); \
474
+ } while (false)
471
475
  #else
472
- # define V8_ASSUME(condition)
476
+ # define V8_ASSUME USE
473
477
  #endif
474
478
 
475
479
  #if V8_HAS_BUILTIN_ASSUME_ALIGNED
@@ -525,9 +529,6 @@ path. Add it with -I<path> to the command line
525
529
  // A macro used to change the calling conventions to preserve all registers (no
526
530
  // caller-saved registers). Use this for cold functions called from hot
527
531
  // functions.
528
- // Note: The attribute is considered experimental, so apply with care. Also,
529
- // "preserve_most" is currently not handling the return value correctly, so only
530
- // use it for functions returning void (see https://reviews.llvm.org/D141020).
531
532
  // Use like:
532
533
  // V8_NOINLINE V8_PRESERVE_MOST void UnlikelyMethod();
533
534
  #if V8_HAS_ATTRIBUTE_PRESERVE_MOST
@@ -610,6 +611,14 @@ path. Add it with -I<path> to the command line
610
611
  #endif
611
612
 
612
613
 
614
+ // Annotate functions/variables as weak to allow overriding the symbol.
615
+ #if V8_HAS_ATTRIBUTE_WEAK
616
+ #define V8_WEAK __attribute__((weak))
617
+ #else
618
+ #define V8_WEAK /* NOT SUPPORTED */
619
+ #endif
620
+
621
+
613
622
  // Annotate a class or constructor indicating the caller must assign the
614
623
  // constructed instances.
615
624
  // Apply to the whole class like:
@@ -749,7 +758,7 @@ V8 shared library set USING_V8_SHARED.
749
758
  #elif defined(__mips64)
750
759
  #define V8_HOST_ARCH_MIPS64 1
751
760
  #define V8_HOST_ARCH_64_BIT 1
752
- #elif defined(__loongarch64)
761
+ #elif defined(__loongarch_lp64)
753
762
  #define V8_HOST_ARCH_LOONG64 1
754
763
  #define V8_HOST_ARCH_64_BIT 1
755
764
  #elif defined(__PPC64__) || defined(_ARCH_PPC64)
@@ -799,7 +808,7 @@ V8 shared library set USING_V8_SHARED.
799
808
  #define V8_TARGET_ARCH_ARM 1
800
809
  #elif defined(__mips64)
801
810
  #define V8_TARGET_ARCH_MIPS64 1
802
- #elif defined(__loongarch64)
811
+ #elif defined(__loongarch_lp64)
803
812
  #define V8_TARGET_ARCH_LOONG64 1
804
813
  #elif defined(_ARCH_PPC64)
805
814
  #define V8_TARGET_ARCH_PPC64 1
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: 20.12.1.0
4
+ version: 21.7.2.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-04-05 00:00:00.000000000 Z
11
+ date: 2024-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -114,6 +114,7 @@ files:
114
114
  - vendor/v8/include/v8-forward.h
115
115
  - vendor/v8/include/v8-function-callback.h
116
116
  - vendor/v8/include/v8-function.h
117
+ - vendor/v8/include/v8-handle-base.h
117
118
  - vendor/v8/include/v8-initialization.h
118
119
  - vendor/v8/include/v8-inspector-protocol.h
119
120
  - vendor/v8/include/v8-inspector.h
@@ -139,6 +140,7 @@ files:
139
140
  - vendor/v8/include/v8-regexp.h
140
141
  - vendor/v8/include/v8-script.h
141
142
  - vendor/v8/include/v8-snapshot.h
143
+ - vendor/v8/include/v8-source-location.h
142
144
  - vendor/v8/include/v8-statistics.h
143
145
  - vendor/v8/include/v8-template.h
144
146
  - vendor/v8/include/v8-traced-handle.h