Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index d5c8caddd1e01de4eabb53595fba39ee22f717d8..d33eb074033f67da05832404536bff705ec6b2e1 100644 |
--- a/runtime/vm/object.h |
+++ b/runtime/vm/object.h |
@@ -3753,6 +3753,10 @@ class Instance : public Object { |
const AbstractTypeArguments& type_instantiator, |
Error* bound_error) const; |
+ // Check whether this instance is identical to the argument according to the |
+ // specification of dare:core's identical(). |
+ bool IsIdenticalTo(const Instance& other) const; |
+ |
bool IsValidNativeIndex(int index) const { |
return ((index >= 0) && (index < clazz()->ptr()->num_native_fields_)); |
} |