#include "src/wasm/wasm-import-wrapper-cache.h"
#include <vector>
#include "src/codegen/assembler-inl.h"
#include "src/codegen/flush-instruction-cache.h"
#include "src/common/code-memory-access-inl.h"
#include "src/wasm/function-compiler.h"
#include "src/wasm/std-object-sizes.h"
#include "src/wasm/wasm-code-manager.h"
#include "src/wasm/wasm-engine.h"
namespace v8::internal::wasm {
WasmCode* WasmImportWrapperCache::ModificationScope::operator[](
const CacheKey& key) { … }
void WasmImportWrapperCache::LazyInitialize(Isolate* triggering_isolate) { … }
WasmCode* WasmImportWrapperCache::ModificationScope::AddWrapper(
const CacheKey& key, WasmCompilationResult result, WasmCode::Kind kind) { … }
void WasmImportWrapperCache::LogForIsolate(Isolate* isolate) { … }
void WasmImportWrapperCache::Free(std::vector<WasmCode*>& wrappers) { … }
WasmCode* WasmImportWrapperCache::MaybeGet(ImportCallKind kind,
uint32_t canonical_type_index,
int expected_arity,
Suspend suspend) const { … }
WasmCode* WasmImportWrapperCache::Lookup(Address pc) const { … }
size_t WasmImportWrapperCache::EstimateCurrentMemoryConsumption() const { … }
}