| Index: runtime/vm/object.cc
|
| ===================================================================
|
| --- runtime/vm/object.cc (revision 32176)
|
| +++ runtime/vm/object.cc (working copy)
|
| @@ -9823,6 +9823,11 @@
|
| }
|
|
|
|
|
| +void Code::set_has_used_cha(bool value) const {
|
| + set_state_bits(UsedCHABit::update(value, raw_ptr()->state_bits_));
|
| +}
|
| +
|
| +
|
| void Code::set_stackmaps(const Array& maps) const {
|
| ASSERT(maps.IsOld());
|
| StorePointer(&raw_ptr()->stackmaps_, maps.raw());
|
| @@ -9996,6 +10001,7 @@
|
| result.set_pointer_offsets_length(pointer_offsets_length);
|
| result.set_is_optimized(false);
|
| result.set_is_alive(true);
|
| + result.set_has_used_cha(false);
|
| result.set_comments(Comments::New(0));
|
| result.set_pc_descriptors(Object::empty_descriptors());
|
| }
|
|
|