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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 2518063008: Fix product and Mac build. (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_macos.cc ('k') | no next file » | 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 b3161c12a847e30e3bfb187cc62b877a30cb1e21..2e739e17e744e5c3cd356dda183cf4ab35d8b6fc 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -6673,7 +6673,9 @@ DART_EXPORT bool Dart_IsPrecompiledRuntime() {
DART_EXPORT void Dart_DumpNativeStackTrace(void* context) {
+#ifndef PRODUCT
Profiler::DumpStackTrace(context);
+#endif
}
} // namespace dart
« no previous file with comments | « runtime/bin/platform_macos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698