| Index: runtime/vm/object.h
|
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h
|
| index 28926e56734267fd11f6a653c2fbda04450b7a21..a274828105216ba2708da7988964470cecebb34b 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() {
|
|
|