Index: runtime/vm/isolate.cc |
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
index a04413bc3f65735456f0001a3e6887309d4bfe60..9b64c07e5a62417a855ed0d8cf4a3adeeb4d6df1 100644 |
--- a/runtime/vm/isolate.cc |
+++ b/runtime/vm/isolate.cc |
@@ -450,24 +450,20 @@ bool IsolateMessageHandler::HandleMessage(Message* message) { |
void IsolateMessageHandler::NotifyPauseOnStart() { |
- if (Service::NeedsDebugEvents()) { |
- StartIsolateScope start_isolate(isolate()); |
- StackZone zone(I); |
- HandleScope handle_scope(I); |
- ServiceEvent pause_event(isolate(), ServiceEvent::kPauseStart); |
- Service::HandleEvent(&pause_event); |
- } |
+ StartIsolateScope start_isolate(isolate()); |
+ StackZone zone(I); |
+ HandleScope handle_scope(I); |
+ ServiceEvent pause_event(isolate(), ServiceEvent::kPauseStart); |
+ Service::HandleEvent(&pause_event); |
} |
void IsolateMessageHandler::NotifyPauseOnExit() { |
- if (Service::NeedsDebugEvents()) { |
- StartIsolateScope start_isolate(isolate()); |
- StackZone zone(I); |
- HandleScope handle_scope(I); |
- ServiceEvent pause_event(isolate(), ServiceEvent::kPauseExit); |
- Service::HandleEvent(&pause_event); |
- } |
+ StartIsolateScope start_isolate(isolate()); |
+ StackZone zone(I); |
+ HandleScope handle_scope(I); |
+ ServiceEvent pause_event(isolate(), ServiceEvent::kPauseExit); |
+ Service::HandleEvent(&pause_event); |
} |