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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 1661703002: VM: Replace dart --noopt with new binary target dart_noopt. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: addressed comments Created 4 years, 11 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
« no previous file with comments | « runtime/dart-runtime.gyp ('k') | runtime/vm/vm.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_api_impl.cc
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
index 89064e08604eec57560bd5ae0dfd10b834a64d19..1e2049c1ddf51db001429ad85eafaa3fd356b50f 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -5919,7 +5919,7 @@ DART_EXPORT Dart_Handle Dart_TimelineAsyncEnd(const char* label,
}
-#if defined(DART_PRECOMPILED_RUNTIME)
+#if !defined(DART_PRECOMPILER)
DART_EXPORT Dart_Handle Dart_Precompile(
Dart_QualifiedFunctionName entry_points[],
@@ -5940,7 +5940,7 @@ DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot(
return 0;
}
-#else // DART_PRECOMPILED_RUNTIME
+#else // DART_PRECOMPILER
DART_EXPORT Dart_Handle Dart_Precompile(
Dart_QualifiedFunctionName entry_points[],
@@ -6014,7 +6014,7 @@ DART_EXPORT Dart_Handle Dart_CreatePrecompiledSnapshot(
return Api::Success();
}
-#endif // DART_PRECOMPILED_RUNTIME
+#endif // DART_PRECOMPILER
DART_EXPORT bool Dart_IsRunningPrecompiledCode() {
« no previous file with comments | « runtime/dart-runtime.gyp ('k') | runtime/vm/vm.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698