setup-isolate-deserialize.cc 672 Bytes
Newer Older
1 2 3 4
// Copyright 2017 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

5
#include "src/init/setup-isolate.h"
6 7 8 9 10 11

#include "src/base/logging.h"

namespace v8 {
namespace internal {

12
void SetupIsolateDelegate::SetupBuiltins(Isolate* isolate) {
13
  CHECK(!create_heap_objects_);
14 15 16
  // No actual work to be done; builtins will be deserialized from the snapshot.
}

17
bool SetupIsolateDelegate::SetupHeap(Heap* heap) {
18
  CHECK(!create_heap_objects_);
19 20 21 22
  // No actual work to be done; heap will be deserialized from the snapshot.
  return true;
}

23 24
}  // namespace internal
}  // namespace v8