Index: runtime/vm/coverage_test.cc |
diff --git a/runtime/vm/coverage_test.cc b/runtime/vm/coverage_test.cc |
index f1afe992da58194c22b0defaa754172419e3de3f..025c6ed0928bb8870f52f6478b02c69b171c68f2 100644 |
--- a/runtime/vm/coverage_test.cc |
+++ b/runtime/vm/coverage_test.cc |
@@ -8,6 +8,8 @@ |
namespace dart { |
+#ifndef PRODUCT |
+ |
static RawObject* ExecuteScript(const char* script) { |
TransitionVMToNative transition(Thread::Current()); |
Dart_Handle h_lib = TestCase::LoadTestScript(script, NULL); |
@@ -137,4 +139,6 @@ VM_TEST_CASE(Coverage_FilterFunction) { |
EXPECT_SUBSTRING(buf, js.ToCString()); |
} |
+#endif // !PRODUCT |
+ |
} // namespace dart |