| Index: runtime/vm/object.h
|
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h
|
| index 3bfe15e4e5ea3f5a6a0ab0304b30176cf82bb783..2c5f12c1cc0c1293549b117ca8f2408d21b11040 100644
|
| --- a/runtime/vm/object.h
|
| +++ b/runtime/vm/object.h
|
| @@ -3955,6 +3955,14 @@ class Stackmap : public Object {
|
| StoreNonPointer(&raw_ptr()->register_bit_count_, register_bit_count);
|
| }
|
|
|
| + bool Equals(const Stackmap& other) const {
|
| + if (Length() != other.Length()) {
|
| + return false;
|
| + }
|
| + NoSafepointScope no_safepoint;
|
| + return memcmp(raw_ptr(), other.raw_ptr(), InstanceSize(Length())) == 0;
|
| + }
|
| +
|
| static const intptr_t kMaxLengthInBytes = kSmiMax;
|
|
|
| static intptr_t InstanceSize() {
|
|
|