Chromium Code Reviews| 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 |