Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(613)

Unified Diff: runtime/include/dart_native_api.h

Issue 1318803002: Toward precompiled snapshots. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sync again Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/include/dart_native_api.h
diff --git a/runtime/include/dart_native_api.h b/runtime/include/dart_native_api.h
index 5a272492a17046c4667a3988ddf5741a64494b84..76bea122ede83c274c57c78842e93d50733a4f28 100644
--- a/runtime/include/dart_native_api.h
+++ b/runtime/include/dart_native_api.h
@@ -160,5 +160,12 @@ DART_EXPORT bool Dart_CloseNativePort(Dart_Port native_port_id);
*/
DART_EXPORT Dart_Handle Dart_CompileAll();
DART_EXPORT Dart_Handle Dart_Precompile();
+DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot(
+ uint8_t** vm_isolate_snapshot_buffer,
+ intptr_t* vm_isolate_snapshot_size,
+ uint8_t** isolate_snapshot_buffer,
+ intptr_t* isolate_snapshot_size,
+ uint8_t** instructions_snapshot_buffer,
+ intptr_t* instructions_snapshot_size);
siva 2015/09/02 21:16:37 I think Dart_Precompile and Dart_CreatePrecompiled
rmacnak 2015/09/02 22:58:50 Moved.
#endif /* INCLUDE_DART_NATIVE_API_H_ */ /* NOLINT */

Powered by Google App Engine
This is Rietveld 408576698