Index: runtime/vm/dart_entry.h |
diff --git a/runtime/vm/dart_entry.h b/runtime/vm/dart_entry.h |
index d0d2d6c1fc42df5adee47a4e9435135c618a1074..db0dd9584152d4a288ea00e62def70859c8eba81 100644 |
--- a/runtime/vm/dart_entry.h |
+++ b/runtime/vm/dart_entry.h |
@@ -129,8 +129,12 @@ class DartLibraryCalls : public AllStatic { |
// On success, returns a RawInstance. On failure, a RawError. |
static RawObject* Equals(const Instance& left, const Instance& right); |
+ // Returns the receive port if it is in the port map and null otherwise. |
+ // On failure, a RawError. |
+ static RawObject* LookupReceivePort(Dart_Port port_id); |
+ |
// Returns null on success, a RawError on failure. |
- static RawObject* HandleMessage(Dart_Port dest_port_id, |
+ static RawObject* HandleMessage(const Object& receive_port, |
Dart_Port reply_port_id, |
const Instance& dart_message); |