v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cpp-snapshot.h
Go to the documentation of this file.
1
// Copyright 2020 the V8 project authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef V8_HEAP_CPPGC_JS_CPP_SNAPSHOT_H_
6
#define V8_HEAP_CPPGC_JS_CPP_SNAPSHOT_H_
7
8
#include "
src/base/macros.h
"
9
10
namespace
v8
{
11
12
class
Isolate;
13
class
EmbedderGraph;
14
15
namespace
internal
{
16
17
class
V8_EXPORT_PRIVATE
CppGraphBuilder
final {
18
public
:
19
// Add the C++ snapshot to the existing |graph|. See CppGraphBuilderImpl for
20
// algorithm internals.
21
static
void
Run(
v8::Isolate
* isolate,
v8::EmbedderGraph
* graph,
void
* data);
22
23
CppGraphBuilder
() =
delete
;
24
};
25
26
}
// namespace internal
27
}
// namespace v8
28
29
#endif
// V8_HEAP_CPPGC_JS_CPP_SNAPSHOT_H_
v8::EmbedderGraph
Definition
v8-profiler.h:840
v8::Isolate
Definition
v8-isolate.h:274
v8::internal::CppGraphBuilder
Definition
cpp-snapshot.h:17
v8::internal::CppGraphBuilder::CppGraphBuilder
CppGraphBuilder()=delete
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
macros.h
V8_EXPORT_PRIVATE
#define V8_EXPORT_PRIVATE
Definition
macros.h:460
src
heap
cppgc-js
cpp-snapshot.h
Generated on Sun Apr 6 2025 21:08:54 for v8 by
1.12.0