Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index 4f9f8d06a259a357c61a453189db396660bf058f..a0d5f2defe1fa87b6f7f8ec9196a0182eacaa26e 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -12210,6 +12210,12 @@ void ICData::set_ic_data_array(const Array& value) const { |
} |
+#if defined(TAG_IC_DATA) |
+void ICData::set_tag(intptr_t value) const { |
+ StoreNonPointer(&raw_ptr()->tag_, value); |
+} |
+#endif |
+ |
intptr_t ICData::NumArgsTested() const { |
return NumArgsTestedBits::decode(raw_ptr()->state_bits_); |
} |
@@ -12790,6 +12796,9 @@ RawICData* ICData::NewDescriptor(Zone* zone, |
result.set_arguments_descriptor(arguments_descriptor); |
result.set_deopt_id(deopt_id); |
result.set_state_bits(0); |
+#if defined(TAG_IC_DATA) |
+ result.set_tag(-1); |
+#endif |
result.SetNumArgsTested(num_args_tested); |
return result.raw(); |
} |
@@ -12807,6 +12816,9 @@ RawICData* ICData::New() { |
} |
result.set_deopt_id(Thread::kNoDeoptId); |
result.set_state_bits(0); |
+#if defined(TAG_IC_DATA) |
+ result.set_tag(-1); |
+#endif |
return result.raw(); |
} |