Index: runtime/vm/profiler_service.cc |
diff --git a/runtime/vm/profiler_service.cc b/runtime/vm/profiler_service.cc |
index 17a8a73ddcaadad6952a3a45af3a86d0beb9de78..8152884af71fa9c94c5dac6d55f7bedd374717ac 100644 |
--- a/runtime/vm/profiler_service.cc |
+++ b/runtime/vm/profiler_service.cc |
@@ -19,6 +19,8 @@ DECLARE_FLAG(int, profile_period); |
DEFINE_FLAG(bool, trace_profiler, false, "Trace profiler."); |
+#ifndef PRODUCT |
+ |
class DeoptimizedCodeSet : public ZoneAllocated { |
public: |
explicit DeoptimizedCodeSet(Isolate* isolate) |
@@ -2407,4 +2409,6 @@ void ProfilerService::ClearSamples() { |
sample_buffer->VisitSamples(&clear_profile); |
} |
+#endif // !PRODUCT |
+ |
} // namespace dart |