v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
module-compiler.h File Reference
#include <atomic>
#include <functional>
#include <memory>
#include <optional>
#include "include/v8-metrics.h"
#include "src/base/platform/time.h"
#include "src/common/globals.h"
#include "src/tasks/cancelable-task.h"
#include "src/wasm/compilation-environment.h"
#include "src/wasm/wasm-features.h"
#include "src/wasm/wasm-import-wrapper-cache.h"
#include "src/wasm/wasm-module.h"
Include dependency graph for module-compiler.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::AsyncCompileJob
 

Namespaces

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

Functions

std::shared_ptr< NativeModulev8::internal::wasm::CompileToNativeModule (Isolate *isolate, WasmEnabledFeatures enabled_features, WasmDetectedFeatures detected_features, CompileTimeImports compile_imports, ErrorThrower *thrower, std::shared_ptr< const WasmModule > module, base::OwnedVector< const uint8_t > wire_bytes, int compilation_id, v8::metrics::Recorder::ContextId context_id, ProfileInformation *pgo_info)
 
WasmError v8::internal::wasm::ValidateAndSetBuiltinImports (const WasmModule *module, base::Vector< const uint8_t > wire_bytes, const CompileTimeImports &imports, WasmDetectedFeatures *detected)
 
WasmCodev8::internal::wasm::CompileImportWrapperForTest (Isolate *isolate, NativeModule *native_module, ImportCallKind kind, const CanonicalSig *sig, CanonicalTypeIndex type_index, int expected_arity, Suspend suspend)
 
bool v8::internal::wasm::CompileLazy (Isolate *isolate, Tagged< WasmTrustedInstanceData > trusted_instance_data, int func_index)
 
void v8::internal::wasm::ThrowLazyCompilationError (Isolate *isolate, const NativeModule *native_module, int func_index)
 
void v8::internal::wasm::TriggerTierUp (Isolate *isolate, Tagged< WasmTrustedInstanceData > trusted_instance_data, int func_index)
 
void v8::internal::wasm::TierUpNowForTesting (Isolate *isolate, Tagged< WasmTrustedInstanceData > trusted_instance_data, int func_index)
 
void v8::internal::wasm::TierUpAllForTesting (Isolate *isolate, Tagged< WasmTrustedInstanceData > trusted_instance_data)
 
void v8::internal::wasm::InitializeCompilationForTesting (NativeModule *native_module)
 
void v8::internal::wasm::PublishDetectedFeatures (WasmDetectedFeatures detected_features, Isolate *isolate, bool is_initial_compilation)