summaryrefslogtreecommitdiff
path: root/deps/v8/src/wasm/wasm-import-wrapper-cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/wasm/wasm-import-wrapper-cache.cc')
-rw-r--r--deps/v8/src/wasm/wasm-import-wrapper-cache.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/v8/src/wasm/wasm-import-wrapper-cache.cc b/deps/v8/src/wasm/wasm-import-wrapper-cache.cc
index b586d07ff4..9630fa76dd 100644
--- a/deps/v8/src/wasm/wasm-import-wrapper-cache.cc
+++ b/deps/v8/src/wasm/wasm-import-wrapper-cache.cc
@@ -18,6 +18,11 @@ WasmCode*& WasmImportWrapperCache::ModificationScope::operator[](
return cache_->entry_map_[key];
}
+WasmCode*& WasmImportWrapperCache::operator[](
+ const WasmImportWrapperCache::CacheKey& key) {
+ return entry_map_[key];
+}
+
WasmCode* WasmImportWrapperCache::Get(compiler::WasmImportCallKind kind,
FunctionSig* sig) const {
auto it = entry_map_.find({kind, sig});