| Index: runtime/vm/isolate.h
 | 
| diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
 | 
| index 2472acc80922ff6f0d99bf7e9540e800e742689a..00406ed9352f4e2c4e79bb485b8c10e27c76b847 100644
 | 
| --- a/runtime/vm/isolate.h
 | 
| +++ b/runtime/vm/isolate.h
 | 
| @@ -130,6 +130,7 @@ class Isolate : public BaseIsolate {
 | 
|      // Internal message ids.
 | 
|      kInterruptMsg = 10,     // Break in the debugger.
 | 
|      kInternalKillMsg = 11,  // Like kill, but does not run exit listeners, etc.
 | 
| +    kVMRestartMsg = 12,     // Sent to isolates when vm is restarting.
 | 
|    };
 | 
|    // The different Isolate API message priorities for ping and kill messages.
 | 
|    enum LibMsgPriority {
 | 
| @@ -766,8 +767,8 @@ class Isolate : public BaseIsolate {
 | 
|  
 | 
|    bool is_service_isolate() const { return is_service_isolate_; }
 | 
|  
 | 
| -  static void KillAllIsolates();
 | 
| -  static void KillIfExists(Isolate* isolate);
 | 
| +  static void KillAllIsolates(LibMsgId msg_id);
 | 
| +  static void KillIfExists(Isolate* isolate, LibMsgId msg_id);
 | 
|  
 | 
|    static void DisableIsolateCreation();
 | 
|    static void EnableIsolateCreation();
 | 
| @@ -784,7 +785,7 @@ class Isolate : public BaseIsolate {
 | 
|                         bool is_vm_isolate = false);
 | 
|  
 | 
|    // The isolates_list_monitor_ should be held when calling Kill().
 | 
| -  void KillLocked();
 | 
| +  void KillLocked(LibMsgId msg_id);
 | 
|  
 | 
|    void LowLevelShutdown();
 | 
|    void Shutdown();
 | 
| 
 |