Index: runtime/vm/isolate.cc |
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
index bfc902e85776978b49e2a72929db3d9f3a2f5e5f..093e84d1a4d583f032f4cc79893f73aeacd5efdb 100644 |
--- a/runtime/vm/isolate.cc |
+++ b/runtime/vm/isolate.cc |
@@ -1122,16 +1122,6 @@ bool Isolate::ReloadSources(JSONStream* js, |
if (!dont_delete_reload_context) { |
DeleteReloadContext(); |
} |
-#if defined(DEBUG) |
- if (success) { |
- return success; |
- Thread* thread = Thread::Current(); |
- Isolate* isolate = thread->isolate(); |
- isolate->heap()->CollectAllGarbage(); |
- VerifyCanonicalVisitor check_canonical(thread); |
- isolate->heap()->IterateObjects(&check_canonical); |
- } |
-#endif // DEBUG |
return success; |
} |