summaryrefslogtreecommitdiff
path: root/deps/v8/src/init/setup-isolate-deserialize.cc
blob: ff0268d3c84f919d4718badd83ce27f25d8dd210 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// 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.

#include "src/init/setup-isolate.h"

#include "src/base/logging.h"
#include "src/execution/isolate.h"
#include "src/interpreter/interpreter.h"
#include "src/utils/ostreams.h"

namespace v8 {
namespace internal {

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

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

}  // namespace internal
}  // namespace v8