Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index def3345a3f7036408b6c0e20d4988792403f90bb..03b9ae5aa0265869055b618005cbebac97e5fd40 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -10705,6 +10705,10 @@ void Library::set_toplevel_class(const Class& value) const { |
StorePointer(&raw_ptr()->toplevel_class_, value.raw()); |
} |
+void Library::set_metadata(const GrowableObjectArray& value) const { |
+ StorePointer(&raw_ptr()->metadata_, value.raw()); |
+} |
+ |
RawLibrary* Library::ImportLibraryAt(intptr_t index) const { |
Namespace& import = Namespace::Handle(ImportAt(index)); |
if (import.IsNull()) { |