diff options
Diffstat (limited to 'deps/v8/src/wasm/wasm-js.h')
-rw-r--r-- | deps/v8/src/wasm/wasm-js.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/deps/v8/src/wasm/wasm-js.h b/deps/v8/src/wasm/wasm-js.h index ce50b2822a..526f5fc932 100644 --- a/deps/v8/src/wasm/wasm-js.h +++ b/deps/v8/src/wasm/wasm-js.h @@ -9,16 +9,25 @@ #ifndef V8_WASM_WASM_JS_H_ #define V8_WASM_WASM_JS_H_ +#include <memory> + #include "src/common/globals.h" namespace v8 { -namespace internal { +class WasmStreaming; +} // namespace v8 + +namespace v8::internal { class Context; template <typename T> class Handle; namespace wasm { +class CompilationResultResolver; class StreamingDecoder; + +V8_EXPORT_PRIVATE std::unique_ptr<WasmStreaming> StartStreamingForTesting( + Isolate*, std::shared_ptr<wasm::CompilationResultResolver>); } // namespace wasm // Exposes a WebAssembly API to JavaScript through the V8 API. @@ -31,7 +40,6 @@ class WasmJs { Isolate* isolate, Handle<Context> context); }; -} // namespace internal -} // namespace v8 +} // namespace v8::internal #endif // V8_WASM_WASM_JS_H_ |