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