V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
setup-isolate-deserialize.cc
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/setup-isolate.h"
6 
7 #include "src/base/logging.h"
8 #include "src/interpreter/interpreter.h"
9 #include "src/isolate.h"
10 #include "src/ostreams.h"
11 
12 namespace v8 {
13 namespace internal {
14 
15 void SetupIsolateDelegate::SetupBuiltins(Isolate* isolate) {
16  CHECK(!create_heap_objects_);
17  // No actual work to be done; builtins will be deserialized from the snapshot.
18 }
19 
20 bool SetupIsolateDelegate::SetupHeap(Heap* heap) {
21  CHECK(!create_heap_objects_);
22  // No actual work to be done; heap will be deserialized from the snapshot.
23  return true;
24 }
25 
26 } // namespace internal
27 } // namespace v8
Definition: libplatform.h:13