// Copyright 2017 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_WASM_MODULE_COMPILER_H_ #define V8_WASM_MODULE_COMPILER_H_ #include #include "src/base/atomic-utils.h" #include "src/cancelable-task.h" #include "src/isolate.h" #include "src/wasm/module-decoder.h" #include "src/wasm/streaming-decoder.h" #include "src/wasm/wasm-module.h" #include "src/wasm/wasm-objects.h" namespace v8 { namespace internal { namespace wasm { class ModuleCompiler; class WasmCode; MaybeHandle CompileToModuleObject( Isolate* isolate, ErrorThrower* thrower, std::unique_ptr module, const ModuleWireBytes& wire_bytes, Handle