Index: runtime/vm/code_observers.h |
diff --git a/runtime/vm/code_observers.h b/runtime/vm/code_observers.h |
index 2e857f77dd2a384c95e95f6fb9cf5dcf992fab94..bd74f96cb9cf50fb7900f30f165f9e4c6f6ec3ed 100644 |
--- a/runtime/vm/code_observers.h |
+++ b/runtime/vm/code_observers.h |
@@ -12,6 +12,8 @@ namespace dart { |
class Mutex; |
siva
2016/02/18 23:34:03
This could move under #ifndef PRODUCT too?
Cutch
2016/02/22 16:05:44
Done.
|
+#ifndef PRODUCT |
+ |
// Object observing code creation events. Used by external profilers and |
// debuggers to map address ranges to function names. |
class CodeObserver { |
@@ -65,6 +67,7 @@ class CodeObservers : public AllStatic { |
static CodeObserver** observers_; |
}; |
+#endif // !PRODUCT |
} // namespace dart |