Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Unified Diff: runtime/vm/compiler_stats.cc

Issue 1314673008: Migrate logging infrastructure Isolate->Thread (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix test. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/disassembler.h » ('j') | runtime/vm/thread.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698