Index: runtime/lib/mirrors.cc |
diff --git a/runtime/lib/mirrors.cc b/runtime/lib/mirrors.cc |
index 7904f3b1e18be06e19e1baa6acd12d3391fa767d..0b790a78e68d7b3226060756f4582ef1dd8d2c7c 100644 |
--- a/runtime/lib/mirrors.cc |
+++ b/runtime/lib/mirrors.cc |
@@ -355,6 +355,7 @@ static RawInstance* CreateClassMirror(const Class& cls, |
static RawInstance* CreateLibraryMirror(const Library& lib) { |
+ ASSERT(!lib.IsNull()); |
const Array& args = Array::Handle(Array::New(3)); |
args.SetAt(0, MirrorReference::Handle(MirrorReference::New(lib))); |
String& str = String::Handle(); |