v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
startup-data-util.h
Go to the documentation of this file.
1
// Copyright 2015 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_INIT_STARTUP_DATA_UTIL_H_
6
#define V8_INIT_STARTUP_DATA_UTIL_H_
7
8
namespace
v8
{
9
namespace
internal
{
10
11
// Helper functions to load external startup data.
12
//
13
// This is meant as a convenience for stand-alone binaries like d8, cctest,
14
// unittest. A V8 embedder would likely either handle startup data on their
15
// own or just disable the feature if they don't want to handle it at all,
16
// while tools like cctest need to work in either configuration.
17
18
void
InitializeExternalStartupData
(
const
char
* directory_path);
19
void
InitializeExternalStartupDataFromFile
(
const
char
* snapshot_blob);
20
21
}
// namespace internal
22
}
// namespace v8
23
24
#endif
// V8_INIT_STARTUP_DATA_UTIL_H_
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8::internal::InitializeExternalStartupData
void InitializeExternalStartupData(const char *directory_path)
Definition
startup-data-util.cc:78
v8::internal::InitializeExternalStartupDataFromFile
void InitializeExternalStartupDataFromFile(const char *snapshot_blob)
Definition
startup-data-util.cc:87
v8
Definition
api-arguments-inl.h:19
src
init
startup-data-util.h
Generated on Sun Apr 6 2025 21:08:54 for v8 by
1.12.0