/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/v8/src/wasm/wasm-stack-wrapper-cache.cc
27 строк
946 B
Michaël Zasso
deps: update V8 to 14.6.202.33
24 апр 2026, 19:01
Не верифицирован
24 апр 2026, 19:01
f1e0b83
Код
Авторство
О чём код?
// Copyright 2025 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/wasm/wasm-stack-wrapper-cache.h" #include "src/base/logging.h" #include "src/compiler/wasm-compiler.h" #include "src/wasm/function-compiler.h" #include "src/wasm/wasm-wrapper-cache-inl.h" namespace v8::internal::wasm { std::pair<WasmCompilationResult, WasmCode::Kind> WasmStackEntryWrapperCache::CompileWrapper(Isolate* isolate, const CacheKey& cache_key) { #if V8_ENABLE_TURBOFAN wasm::WasmCompilationResult result = compiler::CompileWasmStackEntryWrapper(cache_key.sig); return {std::move(result), WasmCode::kWasmStackEntryWrapper}; #else UNREACHABLE(); #endif } template class EXPORT_TEMPLATE_DEFINE(V8_EXPORT_PRIVATE) WasmWrapperCache<StackEntryWrapperCacheKey>; } // namespace v8::internal::wasm