Index: runtime/vm/unit_test.cc |
diff --git a/runtime/vm/unit_test.cc b/runtime/vm/unit_test.cc |
index 903d79de48ebaa3c62525ddfeee0d19f7b5a81ae..2059b71074eba059a616c23a3519a6b8dc12527f 100644 |
--- a/runtime/vm/unit_test.cc |
+++ b/runtime/vm/unit_test.cc |
@@ -92,6 +92,7 @@ static Dart_Handle ImportableTestLibSource() { |
} |
+#ifndef PRODUCT |
static bool IsIsolateReloadTestLib(const char* url_name) { |
const char* kIsolateReloadTestLibUri = "test:isolate_reload_helper"; |
static const intptr_t kIsolateReloadTestLibUriLen = |
@@ -102,7 +103,6 @@ static bool IsIsolateReloadTestLib(const char* url_name) { |
} |
-#ifndef PRODUCT |
static Dart_Handle IsolateReloadTestLibSource() { |
// Special library with one function. |
return DartUtils::NewString("void reloadTest() native 'Reload_Test';\n"); |