v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
setup-isolate-deserialize.cc
Go to the documentation of this file.
1
// Copyright 2017 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
#include "
src/base/logging.h
"
6
#include "
src/execution/isolate.h
"
7
#include "
src/init/setup-isolate.h
"
8
9
namespace
v8
{
10
namespace
internal
{
11
12
bool
SetupIsolateDelegate::SetupHeap
(
Isolate
* isolate,
13
bool
create_heap_objects) {
14
// No actual work to be done; heap will be deserialized from the snapshot.
15
CHECK_WITH_MSG
(!create_heap_objects,
16
"Heap setup supported only in mksnapshot"
);
17
return
true
;
18
}
19
20
void
SetupIsolateDelegate::SetupBuiltins
(
Isolate
* isolate,
21
bool
compile_builtins) {
22
// No actual work to be done; builtins will be deserialized from the snapshot.
23
CHECK_WITH_MSG
(!compile_builtins,
24
"Builtin compilation supported only in mksnapshot"
);
25
}
26
27
}
// namespace internal
28
}
// namespace v8
v8::internal::Isolate
Definition
isolate.h:586
v8::internal::SetupIsolateDelegate::SetupHeap
virtual bool SetupHeap(Isolate *isolate, bool create_heap_objects)
Definition
setup-isolate-deserialize.cc:12
v8::internal::SetupIsolateDelegate::SetupBuiltins
virtual void SetupBuiltins(Isolate *isolate, bool compile_builtins)
Definition
setup-isolate-deserialize.cc:20
isolate.h
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
setup-isolate.h
logging.h
CHECK_WITH_MSG
#define CHECK_WITH_MSG(condition, message)
Definition
logging.h:118
src
init
setup-isolate-deserialize.cc
Generated on Sun Apr 6 2025 21:08:54 for v8 by
1.12.0