Index: runtime/lib/vmservice.cc |
diff --git a/runtime/lib/vmservice.cc b/runtime/lib/vmservice.cc |
index 34799456da72cb11b4fcb5f18a06e7d1ae642917..12aadb6831defc8db65c49e9f90837b32d061727 100644 |
--- a/runtime/lib/vmservice.cc |
+++ b/runtime/lib/vmservice.cc |
@@ -63,8 +63,8 @@ class RegisterRunningIsolatesVisitor : public IsolateVisitor { |
args.SetAt(0, port_int); |
args.SetAt(1, send_port); |
args.SetAt(2, name); |
- Object& r = Object::Handle(service_isolate_->current_zone()); |
- r = DartEntry::InvokeFunction(register_function_, args); |
+ const Object& r = Object::Handle( |
+ DartEntry::InvokeFunction(register_function_, args)); |
if (FLAG_trace_service) { |
OS::Print("vm-service: Isolate %s %" Pd64 " registered.\n", |
name.ToCString(), |