v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::wasm::WasmImportWrapperCache::ModificationScope Class Reference

#include <wasm-import-wrapper-cache.h>

Collaboration diagram for v8::internal::wasm::WasmImportWrapperCache::ModificationScope:

Public Member Functions

 ModificationScope (WasmImportWrapperCache *cache)
 
V8_EXPORT_PRIVATE WasmCodeoperator[] (const CacheKey &key)
 
WasmCodeAddWrapper (const CacheKey &key, WasmCompilationResult result, WasmCode::Kind kind, uint64_t signature_hash)
 

Private Attributes

WasmImportWrapperCache *const cache_
 
base::MutexGuard guard_
 

Detailed Description

Definition at line 51 of file wasm-import-wrapper-cache.h.

Constructor & Destructor Documentation

◆ ModificationScope()

v8::internal::wasm::WasmImportWrapperCache::ModificationScope::ModificationScope ( WasmImportWrapperCache * cache)
inlineexplicit

Definition at line 53 of file wasm-import-wrapper-cache.h.

Member Function Documentation

◆ AddWrapper()

WasmCode * v8::internal::wasm::WasmImportWrapperCache::ModificationScope::AddWrapper ( const CacheKey & key,
WasmCompilationResult result,
WasmCode::Kind kind,
uint64_t signature_hash )

Definition at line 58 of file wasm-import-wrapper-cache.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator[]()

WasmCode * v8::internal::wasm::WasmImportWrapperCache::ModificationScope::operator[] ( const CacheKey & key)

Definition at line 22 of file wasm-import-wrapper-cache.cc.

Member Data Documentation

◆ cache_

WasmImportWrapperCache* const v8::internal::wasm::WasmImportWrapperCache::ModificationScope::cache_
private

Definition at line 62 of file wasm-import-wrapper-cache.h.

◆ guard_

base::MutexGuard v8::internal::wasm::WasmImportWrapperCache::ModificationScope::guard_
private

Definition at line 63 of file wasm-import-wrapper-cache.h.


The documentation for this class was generated from the following files: