5 #include "src/setup-isolate.h" 7 #include "src/base/logging.h" 8 #include "src/heap/heap-inl.h" 9 #include "src/interpreter/interpreter.h" 10 #include "src/isolate.h" 15 void SetupIsolateDelegate::SetupBuiltins(Isolate* isolate) {
16 if (create_heap_objects_) {
17 SetupBuiltinsInternal(isolate);
19 CHECK(isolate->snapshot_available());
23 bool SetupIsolateDelegate::SetupHeap(Heap* heap) {
24 if (create_heap_objects_) {
25 return SetupHeapInternal(heap);
27 CHECK(heap->isolate()->snapshot_available());