Index: runtime/lib/vmservice.cc |
diff --git a/runtime/lib/vmservice.cc b/runtime/lib/vmservice.cc |
index 9c4fc7fb123a0a732800fb21f7f60f6af3a2793d..831b9b8dae14210bec8d63aa97671237fb9a2776 100644 |
--- a/runtime/lib/vmservice.cc |
+++ b/runtime/lib/vmservice.cc |
@@ -116,6 +116,15 @@ DEFINE_NATIVE_ENTRY(VMService_SendRootServiceMessage, 1) { |
} |
+DEFINE_NATIVE_ENTRY(VMService_SendObjectRootServiceMessage, 1) { |
+ GET_NON_NULL_NATIVE_ARGUMENT(Array, message, arguments->NativeArgAt(0)); |
+ if (FLAG_support_service) { |
+ Service::HandleObjectRootMessage(message); |
+ } |
+ return Object::null(); |
+} |
+ |
+ |
DEFINE_NATIVE_ENTRY(VMService_OnStart, 0) { |
if (FLAG_trace_service) { |
OS::Print("vm-service: Booting dart:vmservice library.\n"); |