v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
read-only-deserializer.h
Go to the documentation of this file.
1
// Copyright 2018 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_SNAPSHOT_READ_ONLY_DESERIALIZER_H_
6
#define V8_SNAPSHOT_READ_ONLY_DESERIALIZER_H_
7
8
#include "
src/snapshot/deserializer.h
"
9
10
namespace
v8
{
11
namespace
internal
{
12
13
class
SnapshotData;
14
15
// Deserializes the read-only blob and creates the read-only roots table.
16
class
ReadOnlyDeserializer
final :
public
Deserializer
<Isolate> {
17
public
:
18
ReadOnlyDeserializer
(
Isolate
* isolate,
const
SnapshotData
* data,
19
bool
can_rehash);
20
21
void
DeserializeIntoIsolate
();
22
23
private
:
24
void
PostProcessNewObjects
();
25
};
26
27
}
// namespace internal
28
}
// namespace v8
29
30
#endif
// V8_SNAPSHOT_READ_ONLY_DESERIALIZER_H_
v8::internal::Deserializer
Definition
deserializer.h:44
v8::internal::Isolate
Definition
isolate.h:586
v8::internal::ReadOnlyDeserializer
Definition
read-only-deserializer.h:16
v8::internal::ReadOnlyDeserializer::ReadOnlyDeserializer
ReadOnlyDeserializer(Isolate *isolate, const SnapshotData *data, bool can_rehash)
Definition
read-only-deserializer.cc:151
v8::internal::ReadOnlyDeserializer::PostProcessNewObjects
void PostProcessNewObjects()
Definition
read-only-deserializer.cc:359
v8::internal::ReadOnlyDeserializer::DeserializeIntoIsolate
void DeserializeIntoIsolate()
Definition
read-only-deserializer.cc:157
v8::internal::SnapshotData
Definition
snapshot-data.h:70
deserializer.h
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
src
snapshot
read-only-deserializer.h
Generated on Sun Apr 6 2025 21:08:57 for v8 by
1.12.0