/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/v8/src/heap/cppgc-js/cpp-snapshot.h
32 строки
844 B
Michaël Zasso
deps: update V8 to 14.1.146.11
04 окт 2025, 19:47
Не верифицирован
04 окт 2025, 19:47
7772a2d
Код
Авторство
О чём код?
// Copyright 2020 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. #ifndef V8_HEAP_CPPGC_JS_CPP_SNAPSHOT_H_ #define V8_HEAP_CPPGC_JS_CPP_SNAPSHOT_H_ #include "src/base/macros.h" #include "src/profiler/heap-snapshot-common.h" namespace v8 { class Isolate; class EmbedderGraph; namespace internal { class V8_EXPORT_PRIVATE CppGraphBuilder final { public: // Add the C++ snapshot to the existing |graph|. See CppGraphBuilderImpl for // algorithm internals. static void Run( v8::Isolate* isolate, v8::EmbedderGraph* graph, void* data, UnorderedCppHeapExternalObjectSet&& cpp_heap_external_objects); CppGraphBuilder() = delete; }; } // namespace internal } // namespace v8 #endif // V8_HEAP_CPPGC_JS_CPP_SNAPSHOT_H_