| Index: runtime/vm/object.h
|
| diff --git a/runtime/vm/object.h b/runtime/vm/object.h
|
| index ae6db3075cabc82ac29175675513ab59b69385eb..49166203d00a7ef83f5ef977b0d085d41add9624 100644
|
| --- a/runtime/vm/object.h
|
| +++ b/runtime/vm/object.h
|
| @@ -2360,6 +2360,11 @@ class Stackmap : public Object {
|
| uword PC() const { return raw_ptr()->pc_; }
|
| void SetPC(uword value) const { raw_ptr()->pc_ = value; }
|
|
|
| + intptr_t RegisterBitCount() const { return raw_ptr()->register_bit_count_; }
|
| + void SetRegisterBitCount(intptr_t register_bit_count) const {
|
| + raw_ptr()->register_bit_count_ = register_bit_count;
|
| + }
|
| +
|
| static const intptr_t kMaxLengthInBytes = kSmiMax;
|
|
|
| static intptr_t InstanceSize() {
|
| @@ -2373,7 +2378,9 @@ class Stackmap : public Object {
|
| Utils::RoundUp(length, kBitsPerByte) / kBitsPerByte;
|
| return RoundedAllocationSize(sizeof(RawStackmap) + payload_size);
|
| }
|
| - static RawStackmap* New(intptr_t pc_offset, BitmapBuilder* bmap);
|
| + static RawStackmap* New(intptr_t pc_offset,
|
| + BitmapBuilder* bmap,
|
| + intptr_t register_bit_count);
|
|
|
| private:
|
| void SetLength(intptr_t length) const { raw_ptr()->length_ = length; }
|
|
|