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
9
10namespace v8 {
11namespace internal {
12
13class SnapshotData;
14
15// Deserializes the read-only blob and creates the read-only roots table.
16class ReadOnlyDeserializer final : public Deserializer<Isolate> {
17 public:
18 ReadOnlyDeserializer(Isolate* isolate, const SnapshotData* data,
19 bool can_rehash);
20
22
23 private:
25};
26
27} // namespace internal
28} // namespace v8
29
30#endif // V8_SNAPSHOT_READ_ONLY_DESERIALIZER_H_
ReadOnlyDeserializer(Isolate *isolate, const SnapshotData *data, bool can_rehash)