File tree 2 files changed +4
-9
lines changed
2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,6 @@ const char* MessageHandler::MessageStatusString(MessageStatus status) {
44
44
return " OK" ;
45
45
case kError :
46
46
return " Error" ;
47
- case kRestart :
48
- return " Restart" ;
49
47
case kShutdown :
50
48
return " Shutdown" ;
51
49
default :
@@ -358,19 +356,17 @@ bool MessageHandler::ShouldPauseOnStart(MessageStatus status) const {
358
356
}
359
357
// If we are restarting or shutting down, we do not want to honor
360
358
// should_pause_on_start or should_pause_on_exit.
361
- return (status != MessageHandler::kRestart &&
362
- status != MessageHandler::kShutdown ) &&
363
- should_pause_on_start () && owning_isolate->is_runnable ();
359
+ return (status != MessageHandler::kShutdown ) && should_pause_on_start () &&
360
+ owning_isolate->is_runnable ();
364
361
}
365
362
366
363
bool MessageHandler::ShouldPauseOnExit (MessageStatus status) const {
367
364
Isolate* owning_isolate = isolate ();
368
365
if (owning_isolate == NULL ) {
369
366
return false ;
370
367
}
371
- return (status != MessageHandler::kRestart &&
372
- status != MessageHandler::kShutdown ) &&
373
- should_pause_on_exit () && owning_isolate->is_runnable ();
368
+ return (status != MessageHandler::kShutdown ) && should_pause_on_exit () &&
369
+ owning_isolate->is_runnable ();
374
370
}
375
371
#endif
376
372
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ class MessageHandler {
25
25
enum MessageStatus {
26
26
kOK , // We successfully handled a message.
27
27
kError , // We encountered an error handling a message.
28
- kRestart , // The VM is restarting.
29
28
kShutdown , // The VM is shutting down.
30
29
};
31
30
static const char * MessageStatusString (MessageStatus status);
You can’t perform that action at this time.
0 commit comments