Index: runtime/vm/precompiler.cc |
diff --git a/runtime/vm/precompiler.cc b/runtime/vm/precompiler.cc |
index dcabc029a72ad1d0e0c4799db3aa99caa06c398f..556bc486ce3997fd5b4021c4ccc39d70cfd2f974 100644 |
--- a/runtime/vm/precompiler.cc |
+++ b/runtime/vm/precompiler.cc |
@@ -382,7 +382,7 @@ void Precompiler::AddEntryPoints(Dart_QualifiedFunctionName entry_points[]) { |
ASSERT(!cls.IsNull()); |
func = cls.LookupFunctionAllowPrivate(function_name); |
- field = cls.LookupField(function_name); |
+ field = cls.LookupFieldAllowPrivate(function_name); |
} |
if (func.IsNull() && field.IsNull()) { |