Index: runtime/vm/dart_entry.h |
diff --git a/runtime/vm/dart_entry.h b/runtime/vm/dart_entry.h |
index 863d1ef2426adad330e1b427038ba9604cf7d260..fe2a505c7897b595c04470fb9f06f3a5a7fdf9a5 100644 |
--- a/runtime/vm/dart_entry.h |
+++ b/runtime/vm/dart_entry.h |
@@ -146,8 +146,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); |