Index: runtime/vm/message.h |
diff --git a/runtime/vm/message.h b/runtime/vm/message.h |
index f69c3951f5f808b9c84db6daca3815ab399aa06a..17daee0587995d684fb427810f359b48d4962e9a 100644 |
--- a/runtime/vm/message.h |
+++ b/runtime/vm/message.h |
@@ -93,6 +93,8 @@ class MessageQueue { |
// message is available. This function will not block. |
Message* Dequeue(); |
+ bool IsEmpty() { return head_ == NULL; } |
+ |
// Clear all messages from the message queue. |
void Clear(); |