2017-04-07 13:31:29 +00:00
|
|
|
// 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.
|
|
|
|
|
2019-05-16 10:26:57 +00:00
|
|
|
#include "src/init/setup-isolate.h"
|
2017-04-07 13:31:29 +00:00
|
|
|
|
|
|
|
#include "src/base/logging.h"
|
|
|
|
|
|
|
|
namespace v8 {
|
|
|
|
namespace internal {
|
|
|
|
|
2017-09-06 10:48:08 +00:00
|
|
|
void SetupIsolateDelegate::SetupBuiltins(Isolate* isolate) {
|
2017-11-20 13:29:20 +00:00
|
|
|
CHECK(!create_heap_objects_);
|
2017-04-07 13:31:29 +00:00
|
|
|
// No actual work to be done; builtins will be deserialized from the snapshot.
|
|
|
|
}
|
|
|
|
|
2017-09-06 10:48:08 +00:00
|
|
|
bool SetupIsolateDelegate::SetupHeap(Heap* heap) {
|
2017-11-20 13:29:20 +00:00
|
|
|
CHECK(!create_heap_objects_);
|
2017-09-06 10:48:08 +00:00
|
|
|
// No actual work to be done; heap will be deserialized from the snapshot.
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2017-04-07 13:31:29 +00:00
|
|
|
} // namespace internal
|
|
|
|
} // namespace v8
|