node-linux-arm64 23.10.0 → 24.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +427 -1829
- package/LICENSE +3 -3
- package/README.md +8 -4
- package/bin/node +0 -0
- package/include/node/common.gypi +4 -11
- package/include/node/config.gypi +5 -6
- package/include/node/cppgc/allocation.h +1 -2
- package/include/node/cppgc/default-platform.h +3 -2
- package/include/node/cppgc/heap-consistency.h +1 -1
- package/include/node/cppgc/internal/api-constants.h +0 -17
- package/include/node/cppgc/internal/base-page-handle.h +2 -4
- package/include/node/cppgc/internal/caged-heap-local-data.h +0 -4
- package/include/node/cppgc/internal/caged-heap.h +0 -4
- package/include/node/cppgc/internal/conditional-stack-allocated.h +41 -0
- package/include/node/cppgc/internal/logging.h +3 -3
- package/include/node/cppgc/internal/member-storage.h +63 -20
- package/include/node/cppgc/internal/persistent-node.h +8 -3
- package/include/node/cppgc/internal/pointer-policies.h +48 -11
- package/include/node/cppgc/macros.h +21 -0
- package/include/node/cppgc/member.h +70 -36
- package/include/node/cppgc/name-provider.h +3 -0
- package/include/node/cppgc/platform.h +11 -0
- package/include/node/cppgc/type-traits.h +1 -0
- package/include/node/cppgc/visitor.h +25 -1
- package/include/node/libplatform/libplatform-export.h +2 -2
- package/include/node/libplatform/v8-tracing.h +0 -1
- package/include/node/node.h +58 -15
- package/include/node/node_version.h +3 -3
- package/include/node/v8-array-buffer.h +111 -34
- package/include/node/v8-callbacks.h +84 -26
- package/include/node/v8-context.h +7 -6
- package/include/node/v8-cppgc.h +2 -1
- package/include/node/v8-data.h +5 -0
- package/include/node/v8-debug.h +11 -0
- package/include/node/v8-embedder-heap.h +1 -32
- package/include/node/v8-exception.h +2 -0
- package/include/node/v8-function-callback.h +4 -33
- package/include/node/v8-function.h +7 -0
- package/include/node/v8-handle-base.h +18 -0
- package/include/node/v8-initialization.h +9 -1
- package/include/node/v8-internal.h +477 -399
- package/include/node/v8-isolate.h +218 -151
- package/include/node/v8-local-handle.h +56 -28
- package/include/node/v8-maybe.h +2 -1
- package/include/node/v8-memory-span.h +149 -24
- package/include/node/v8-message.h +9 -1
- package/include/node/v8-object.h +7 -2
- package/include/node/v8-persistent-handle.h +17 -17
- package/include/node/v8-platform.h +48 -13
- package/include/node/v8-primitive.h +131 -6
- package/include/node/v8-profiler.h +13 -1
- package/include/node/v8-proxy.h +0 -1
- package/include/node/v8-regexp.h +0 -1
- package/include/node/v8-sandbox.h +3 -3
- package/include/node/v8-script.h +21 -3
- package/include/node/v8-source-location.h +6 -1
- package/include/node/v8-template.h +8 -2
- package/include/node/v8-traced-handle.h +16 -17
- package/include/node/v8-typed-array.h +6 -10
- package/include/node/v8-value.h +18 -0
- package/include/node/v8-version.h +4 -4
- package/include/node/v8-wasm.h +24 -0
- package/include/node/v8-weak-callback-info.h +20 -12
- package/include/node/v8.h +3 -3
- package/include/node/v8config.h +34 -40
- package/package.json +1 -1
- package/share/doc/node/gdbinit +94 -30
- package/share/doc/node/lldb_commands.py +107 -13
- package/share/man/man1/node.1 +4 -1
- package/include/node/cppgc/ephemeron-pair.h +0 -30
|
@@ -43,7 +43,11 @@ class V8_TRIVIAL_ABI StackAllocated<true> : public StackAllocated<false> {
|
|
|
43
43
|
no_checking_tag tag)
|
|
44
44
|
: StackAllocated<false>(other, tag) {}
|
|
45
45
|
|
|
46
|
+
#ifdef ENABLE_SLOW_DCHECKS
|
|
46
47
|
V8_EXPORT void VerifyOnStack() const;
|
|
48
|
+
#else
|
|
49
|
+
V8_INLINE V8_EXPORT void VerifyOnStack() const {}
|
|
50
|
+
#endif
|
|
47
51
|
};
|
|
48
52
|
|
|
49
53
|
/**
|
|
@@ -86,6 +90,16 @@ class IndirectHandleBase {
|
|
|
86
90
|
return internal::ValueHelper::SlotAsValue<T, check_null>(slot());
|
|
87
91
|
}
|
|
88
92
|
|
|
93
|
+
#ifdef V8_ENABLE_DIRECT_HANDLE
|
|
94
|
+
V8_INLINE internal::ValueHelper::InternalRepresentationType repr() const {
|
|
95
|
+
return location_ ? *location_ : internal::ValueHelper::kEmpty;
|
|
96
|
+
}
|
|
97
|
+
#else
|
|
98
|
+
V8_INLINE internal::ValueHelper::InternalRepresentationType repr() const {
|
|
99
|
+
return location_;
|
|
100
|
+
}
|
|
101
|
+
#endif // V8_ENABLE_DIRECT_HANDLE
|
|
102
|
+
|
|
89
103
|
private:
|
|
90
104
|
internal::Address* location_ = nullptr;
|
|
91
105
|
};
|
|
@@ -126,6 +140,10 @@ class DirectHandleBase {
|
|
|
126
140
|
return reinterpret_cast<T*>(ptr_);
|
|
127
141
|
}
|
|
128
142
|
|
|
143
|
+
V8_INLINE internal::ValueHelper::InternalRepresentationType repr() const {
|
|
144
|
+
return ptr_;
|
|
145
|
+
}
|
|
146
|
+
|
|
129
147
|
private:
|
|
130
148
|
internal::Address ptr_ = internal::ValueHelper::kEmpty;
|
|
131
149
|
};
|
|
@@ -112,11 +112,18 @@ class V8_EXPORT V8 {
|
|
|
112
112
|
const bool kV8TargetOsIsAndroid = false;
|
|
113
113
|
#endif
|
|
114
114
|
|
|
115
|
+
#ifdef V8_ENABLE_CHECKS
|
|
116
|
+
const bool kV8EnableChecks = true;
|
|
117
|
+
#else
|
|
118
|
+
const bool kV8EnableChecks = false;
|
|
119
|
+
#endif
|
|
120
|
+
|
|
115
121
|
const int kBuildConfiguration =
|
|
116
122
|
(internal::PointerCompressionIsEnabled() ? kPointerCompression : 0) |
|
|
117
123
|
(internal::SmiValuesAre31Bits() ? k31BitSmis : 0) |
|
|
118
124
|
(internal::SandboxIsEnabled() ? kSandbox : 0) |
|
|
119
|
-
(kV8TargetOsIsAndroid ? kTargetOsIsAndroid : 0)
|
|
125
|
+
(kV8TargetOsIsAndroid ? kTargetOsIsAndroid : 0) |
|
|
126
|
+
(kV8EnableChecks ? kEnableChecks : 0);
|
|
120
127
|
return Initialize(kBuildConfiguration);
|
|
121
128
|
}
|
|
122
129
|
|
|
@@ -288,6 +295,7 @@ class V8_EXPORT V8 {
|
|
|
288
295
|
k31BitSmis = 1 << 1,
|
|
289
296
|
kSandbox = 1 << 2,
|
|
290
297
|
kTargetOsIsAndroid = 1 << 3,
|
|
298
|
+
kEnableChecks = 1 << 4,
|
|
291
299
|
};
|
|
292
300
|
|
|
293
301
|
/**
|