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
10namespace v8 {
11
12class Isolate;
13class EmbedderGraph;
14
15namespace internal {
16
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_
#define V8_EXPORT_PRIVATE
Definition macros.h:460