Index: runtime/vm/dart_api_message.cc |
diff --git a/runtime/vm/dart_api_message.cc b/runtime/vm/dart_api_message.cc |
index 4d3687f3909b1bb9194502ffed912a58582a5356..6e1afc487b48f560cbe7304ff5a77e8afa364b0a 100644 |
--- a/runtime/vm/dart_api_message.cc |
+++ b/runtime/vm/dart_api_message.cc |
@@ -1284,6 +1284,14 @@ bool ApiMessageWriter::WriteCObjectInlined(Dart_CObject* object, |
WriteRawPointerValue(reinterpret_cast<intptr_t>(callback)); |
break; |
} |
+ case Dart_CObject_kSendPort: { |
+ WriteInlinedHeader(object); |
+ WriteIndexedObject(kSendPortCid); |
+ WriteTags(0); |
+ Write<int64_t>(object->value.as_send_port.id); |
+ Write<uint64_t>(object->value.as_send_port.origin_id); |
+ break; |
+ } |
case Dart_CObject_kCapability: { |
WriteInlinedHeader(object); |
WriteIndexedObject(kCapabilityCid); |