diff options
Diffstat (limited to 'deps/v8/src/api/api.h')
-rw-r--r-- | deps/v8/src/api/api.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/deps/v8/src/api/api.h b/deps/v8/src/api/api.h index 4c383d3e43c..ad879657c99 100644 --- a/deps/v8/src/api/api.h +++ b/deps/v8/src/api/api.h @@ -33,6 +33,7 @@ namespace debug { class AccessorPair; class GeneratorObject; class Script; +class WasmValue; class WeakMap; } // namespace debug @@ -93,7 +94,6 @@ class RegisteredExtension { V(Data, Object) \ V(RegExp, JSRegExp) \ V(Object, JSReceiver) \ - V(FinalizationGroup, JSFinalizationRegistry) \ V(Array, JSArray) \ V(Map, JSMap) \ V(Set, JSSet) \ @@ -129,6 +129,7 @@ class RegisteredExtension { V(debug::Script, Script) \ V(debug::WeakMap, JSWeakMap) \ V(debug::AccessorPair, AccessorPair) \ + V(debug::WasmValue, WasmValue) \ V(Promise, JSPromise) \ V(Primitive, Object) \ V(PrimitiveArray, FixedArray) \ @@ -205,8 +206,6 @@ class Utils { v8::internal::Handle<v8::internal::JSTypedArray> obj); static inline Local<BigUint64Array> ToLocalBigUint64Array( v8::internal::Handle<v8::internal::JSTypedArray> obj); - static inline Local<FinalizationGroup> ToLocal( - v8::internal::Handle<v8::internal::JSFinalizationRegistry> obj); static inline Local<SharedArrayBuffer> ToLocalShared( v8::internal::Handle<v8::internal::JSArrayBuffer> obj); @@ -275,16 +274,6 @@ class Utils { return OpenHandle(*handle); } - static inline CompiledWasmModule Convert( - std::shared_ptr<i::wasm::NativeModule> native_module) { - return CompiledWasmModule{std::move(native_module)}; - } - - static inline const std::shared_ptr<i::wasm::NativeModule>& Open( - const CompiledWasmModule& compiled_module) { - return compiled_module.native_module_; - } - private: static void ReportApiFailure(const char* location, const char* message); }; |