Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index dd5177d3d6c38a37737e1a15776544143a8e46fa..93c5502dc51f97242fe8ab8c9d35585d075c02b6 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -3661,8 +3661,8 @@ void Class::set_is_cycle_free() const { |
} |
-void Class::set_is_allocated() const { |
- set_state_bits(IsAllocatedBit::update(true, raw_ptr()->state_bits_)); |
+void Class::set_is_allocated(bool value) const { |
+ set_state_bits(IsAllocatedBit::update(value, raw_ptr()->state_bits_)); |
} |