Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index de74eb4dd2133ee8af70c1bb79a929d7238962bb..0d5ca5f983668e6c7c36c8c1217a7d141046c4cf 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -10245,8 +10245,8 @@ bool Library::ImportsCorelib() const { |
void Library::DropDependencies() const { |
- StorePointer(&raw_ptr()->imports_, Array::null()); |
- StorePointer(&raw_ptr()->exports_, Array::null()); |
+ StorePointer(&raw_ptr()->imports_, Object::empty_array().raw()); |
+ StorePointer(&raw_ptr()->exports_, Object::empty_array().raw()); |
} |