Index: runtime/vm/deopt_instructions.cc |
diff --git a/runtime/vm/deopt_instructions.cc b/runtime/vm/deopt_instructions.cc |
index 1aa11b76da285ad8748dd321e5cf62d2f6e00718..8b0aa722c8b1911d4f1a0ecfaf99734309da24f9 100644 |
--- a/runtime/vm/deopt_instructions.cc |
+++ b/runtime/vm/deopt_instructions.cc |
@@ -139,8 +139,7 @@ DeoptContext::~DeoptContext() { |
deferred_objects_ = NULL; |
deferred_objects_count_ = 0; |
if (FLAG_support_timeline && (deopt_start_micros_ != 0)) { |
- Isolate* isolate = Isolate::Current(); |
- TimelineStream* compiler_stream = isolate->GetCompilerStream(); |
+ TimelineStream* compiler_stream = Timeline::GetCompilerStream(); |
ASSERT(compiler_stream != NULL); |
if (compiler_stream->Enabled()) { |
// Allocate all Dart objects needed before calling StartEvent, |