Chromium Code Reviews| Index: runtime/vm/object.cc |
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
| index 69a752ec90addcfc13c121db7dc694da6f7998c1..14e54ef0f8531a7356c80c7b8b86034117d7fdf6 100644 |
| --- a/runtime/vm/object.cc |
| +++ b/runtime/vm/object.cc |
| @@ -2159,6 +2159,8 @@ void Class::SetFunctions(const Array& value) const { |
| set.Insert(func); |
| } |
| StorePointer(&raw_ptr()->functions_hash_table_, set.Release().raw()); |
| + } else { |
| + StorePointer(&raw_ptr()->functions_hash_table_, Array::null()); |
| } |
| } |