724 {
725#if defined(TARGET_ARCH_IA32)
726
727 uint8_t* isolate_buffer = nullptr;
728 intptr_t isolate_size = 0;
729
731 &isolate_size, false);
734 }
735
736 WriteAppSnapshot(snapshot_filename, isolate_buffer, isolate_size,
nullptr, 0);
737#else
738 uint8_t* isolate_data_buffer = nullptr;
739 intptr_t isolate_data_size = 0;
740 uint8_t* isolate_instructions_buffer = nullptr;
741 intptr_t isolate_instructions_size = 0;
743 &isolate_data_buffer, &isolate_data_size, &isolate_instructions_buffer,
744 &isolate_instructions_size);
747 }
749 isolate_instructions_buffer, isolate_instructions_size);
750#endif
751}
static void WriteAppSnapshot(const char *filename, uint8_t *isolate_data_buffer, intptr_t isolate_data_size, uint8_t *isolate_instructions_buffer, intptr_t isolate_instructions_size)
DART_EXPORT Dart_Handle Dart_CreateAppJITSnapshotAsBlobs(uint8_t **isolate_snapshot_data_buffer, intptr_t *isolate_snapshot_data_size, uint8_t **isolate_snapshot_instructions_buffer, intptr_t *isolate_snapshot_instructions_size)
DART_EXPORT Dart_Handle Dart_CreateSnapshot(uint8_t **vm_snapshot_data_buffer, intptr_t *vm_snapshot_data_size, uint8_t **isolate_snapshot_data_buffer, intptr_t *isolate_snapshot_data_size, bool is_core)