Index: runtime/vm/compiler_stats.cc |
diff --git a/runtime/vm/compiler_stats.cc b/runtime/vm/compiler_stats.cc |
index e04c0c00a51423d958932a7703fef3ee3bcf3f5b..86da700e1f20a7d70cf30eb56eff6fb38e742b2d 100644 |
--- a/runtime/vm/compiler_stats.cc |
+++ b/runtime/vm/compiler_stats.cc |
@@ -124,7 +124,7 @@ char* CompilerStats::PrintToZone() { |
Dart::vm_isolate()->heap()->IterateObjects(&visitor); |
Log log(PrintToStats); |
- LogBlock lb(isolate_, &log); |
+ LogBlock lb(Thread::Current(), &log); |
log.Print("==== Compiler Stats for isolate '%s' ====\n", |
isolate_->debugger_name()); |