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

Unified Diff: runtime/include/dart_api.h

Issue 2466363003: Allow Platform.executable for JIT app snapshots. (Closed)
Patch Set: . Created 4 years, 1 month 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
« no previous file with comments | « runtime/bin/platform.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/include/dart_api.h
diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h
index 105bb66a4b7db4d7fef8912b3bc94a2636c012d5..2608724962e543512c7e7f54d0177c4740080941 100755
--- a/runtime/include/dart_api.h
+++ b/runtime/include/dart_api.h
@@ -3187,19 +3187,9 @@ DART_EXPORT Dart_Handle Dart_CreateAppJITSnapshot(
/**
* Returns whether the VM only supports running from precompiled snapshots and
- * not from any other kind of snapshot or no snapshot (that is, the VM was
+ * not from any other kind of snapshot or from source (that is, the VM was
* compiled with DART_PRECOMPILED_RUNTIME).
*/
DART_EXPORT bool Dart_IsPrecompiledRuntime();
-
-/**
- * Returns whether the VM was initialized with a precompiled snapshot. Only
- * valid after Dart_Initialize.
- * DEPRECATED. This is currently used to disable Platform.executable and
- * Platform.resolvedExecutable under precompilation to prevent process
- * spawning tests from becoming fork-bombs.
- */
-DART_EXPORT bool Dart_IsRunningPrecompiledCode();
-
#endif /* INCLUDE_DART_API_H_ */ /* NOLINT */
« no previous file with comments | « runtime/bin/platform.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698