Index: runtime/vm/precompiler.cc |
diff --git a/runtime/vm/precompiler.cc b/runtime/vm/precompiler.cc |
index 1d111ddc7486877dc08c0d04320fec32d86d4532..bd014e7e003342eaacc3ada2eedfc075ed0d9bcb 100644 |
--- a/runtime/vm/precompiler.cc |
+++ b/runtime/vm/precompiler.cc |
@@ -39,6 +39,7 @@ |
#include "vm/resolver.h" |
#include "vm/symbols.h" |
#include "vm/tags.h" |
+#include "vm/timeline.h" |
#include "vm/timer.h" |
namespace dart { |
@@ -1981,7 +1982,7 @@ bool PrecompileParsedFunctionHelper::Compile(CompilationPipeline* pipeline) { |
bool is_compiled = false; |
Zone* const zone = thread()->zone(); |
#ifndef PRODUCT |
- TimelineStream* compiler_timeline = isolate()->GetCompilerStream(); |
+ TimelineStream* compiler_timeline = Timeline::GetCompilerStream(); |
#endif // !PRODUCT |
CSTAT_TIMER_SCOPE(thread(), codegen_timer); |
HANDLESCOPE(thread()); |