Index: runtime/vm/kernel_isolate.cc |
diff --git a/runtime/vm/kernel_isolate.cc b/runtime/vm/kernel_isolate.cc |
index d8f0a42b7a14c899aaca3480dce901c10e717585..569fb193e2006afce981a910677a69f361aec3f2 100644 |
--- a/runtime/vm/kernel_isolate.cc |
+++ b/runtime/vm/kernel_isolate.cc |
@@ -380,6 +380,9 @@ class KernelCompilationRequest : public ValueObject { |
static void RegisterRequest(KernelCompilationRequest* rq) { |
MonitorLocker locker(requests_monitor_); |
rq->next_ = requests_; |
+ if (requests_ != NULL) { |
+ requests_->prev_ = rq; |
+ } |
requests_ = rq; |
} |