Index: runtime/vm/isolate.cc |
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
index 6bcaeb6895c083d9e7709d144808fbd9e17faa3a..dc526137503c89b8cd53cc21858ac3ba12e17714 100644 |
--- a/runtime/vm/isolate.cc |
+++ b/runtime/vm/isolate.cc |
@@ -1388,7 +1388,7 @@ void Isolate::Run() { |
void Isolate::AddClosureFunction(const Function& function) const { |
// TODO(regis): remove once debugging complete. |
if (Compiler::IsBackgroundCompilation()) { |
- Profiler::DumpStackTrace(true /*native*/); |
+ NOT_IN_PRODUCT(Profiler::DumpStackTrace(true /*native*/)); |
UNREACHABLE(); |
} |
ASSERT(!Compiler::IsBackgroundCompilation()); |