Index: runtime/lib/mirrors.cc |
diff --git a/runtime/lib/mirrors.cc b/runtime/lib/mirrors.cc |
index 7c6aecfa2ff21694bd5ef8e2feaec690cd09202f..894b3edc89855dfa7f95e6d6355a0f720a33e28a 100644 |
--- a/runtime/lib/mirrors.cc |
+++ b/runtime/lib/mirrors.cc |
@@ -1296,7 +1296,7 @@ DEFINE_NATIVE_ENTRY(ClassMirror_constructors, 2) { |
Function& func = Function::Handle(); |
for (intptr_t i = 0; i < num_functions; i++) { |
func ^= functions.At(i); |
- if (func.is_visible() && func.kind() == RawFunction::kConstructor) { |
+ if (func.kind() == RawFunction::kConstructor) { |
constructor_mirror = CreateMethodMirror(func, owner_mirror); |
constructor_mirrors.Add(constructor_mirror); |
} |