v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
module-instantiate.h File Reference
#include <stdint.h>
#include <optional>
#include "src/common/message-template.h"
#include "src/objects/code-kind.h"
#include "src/wasm/wasm-value.h"
#include "src/wasm/well-known-imports.h"
Include dependency graph for module-instantiate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  v8::internal::wasm::ResolvedWasmImport
 
struct  v8::internal::wasm::WrapperCompilationInfo
 

Namespaces

namespace  v8
 
namespace  v8::internal
 
namespace  v8::internal::wasm
 

Enumerations

enum  v8::internal::wasm::Suspend : int { v8::internal::wasm::kSuspend , v8::internal::wasm::kNoSuspend }
 
enum  v8::internal::wasm::Promise : int { v8::internal::wasm::kPromise , v8::internal::wasm::kNoPromise , v8::internal::wasm::kStressSwitch }
 
enum class  v8::internal::wasm::ImportCallKind : uint8_t {
  v8::internal::wasm::kLinkError , v8::internal::wasm::kRuntimeTypeError , v8::internal::wasm::kWasmToCapi , v8::internal::wasm::kWasmToJSFastApi ,
  v8::internal::wasm::kWasmToWasm , v8::internal::wasm::kJSFunctionArityMatch , v8::internal::wasm::kJSFunctionArityMismatch , v8::internal::wasm::kUseCallBuiltin
}
 

Functions

MaybeDirectHandle< WasmInstanceObjectv8::internal::wasm::InstantiateToInstanceObject (Isolate *isolate, ErrorThrower *thrower, DirectHandle< WasmModuleObject > module_object, MaybeDirectHandle< JSReceiver > imports, MaybeDirectHandle< JSArrayBuffer > memory_buffer)
 
std::optional< MessageTemplatev8::internal::wasm::InitializeElementSegment (Zone *zone, Isolate *isolate, DirectHandle< WasmTrustedInstanceData > trusted_instance_data, DirectHandle< WasmTrustedInstanceData > shared_trusted_instance_data, uint32_t segment_index)
 
void v8::internal::wasm::CreateMapForType (Isolate *isolate, const WasmModule *module, ModuleTypeIndex type_index, DirectHandle< FixedArray > maybe_shared_maps)
 

Variables

constexpr ImportCallKind v8::internal::wasm::kDefaultImportCallKind