Index: runtime/bin/vmservice_impl.cc |
diff --git a/runtime/bin/vmservice_impl.cc b/runtime/bin/vmservice_impl.cc |
index 4a5429131b580ff20af4b0e1b6407931d5ac1661..727ca25e49b426023f092d6010d979a3c83a63eb 100644 |
--- a/runtime/bin/vmservice_impl.cc |
+++ b/runtime/bin/vmservice_impl.cc |
@@ -161,7 +161,7 @@ intptr_t VmService::server_port_ = 0; |
bool VmService::Setup(const char* server_ip, intptr_t server_port) { |
Dart_Isolate isolate = Dart_CurrentIsolate(); |
- ASSERT(isolate != NULL); |
+ ASSERT(isolate != ILLEGAL_ISOLATE); |
SetServerIPAndPort("", 0); |
Dart_Handle result; |