Index: runtime/vm/object.h |
=================================================================== |
--- runtime/vm/object.h (revision 32176) |
+++ runtime/vm/object.h (working copy) |
@@ -3204,6 +3204,10 @@ |
return AliveBit::decode(raw_ptr()->state_bits_); |
} |
void set_is_alive(bool value) const; |
+ bool has_used_cha() const { |
+ return UsedCHABit::decode(raw_ptr()->state_bits_); |
+ } |
+ void set_has_used_cha(bool value) const; |
uword EntryPoint() const { |
const Instructions& instr = Instructions::Handle(instructions()); |
@@ -3386,10 +3390,12 @@ |
enum { |
kOptimizedBit = 0, |
kAliveBit = 1, |
+ kUsedCHABit = 2, |
}; |
class OptimizedBit : public BitField<bool, kOptimizedBit, 1> {}; |
class AliveBit : public BitField<bool, kAliveBit, 1> {}; |
+ class UsedCHABit : public BitField<bool, kUsedCHABit, 1> {}; |
// An object finder visitor interface. |
class FindRawCodeVisitor : public FindObjectVisitor { |