Index: runtime/include/dart_api.h |
diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h |
index ab15af12bf8084baaa25ab367840eac1c3c4c568..e54a52d519adc1bbee5bd6edf539f23ff420e9b9 100644 |
--- a/runtime/include/dart_api.h |
+++ b/runtime/include/dart_api.h |
@@ -3256,6 +3256,14 @@ DART_EXPORT Dart_Handle |
Dart_CreateAppAOTSnapshotAsAssembly(uint8_t** assembly_buffer, |
intptr_t* assembly_size); |
+/** |
+ * Like Dart_CreateAppAOTSnapshotAsAssembly, but only includes |
+ * kDartVmSnapshotData and kDartVmSnapshotInstructions. |
+ */ |
+DART_EXPORT Dart_Handle |
+Dart_CreateVMAOTSnapshotAsAssembly(uint8_t** assembly_buffer, |
+ intptr_t* assembly_size); |
+ |
/** |
* Same as Dart_CreateAppAOTSnapshotAsAssembly, except all the pieces are |
* provided directly as bytes that the embedder can load with mmap. The |