Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1353)

Unified Diff: runtime/vm/object.cc

Issue 1908123002: Fix export cache invalidation (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index f8d56f6907867ae4d72382ee54ccfafa6d1f4a23..602ea500fefb9c3ca58d61c55b640d2d19b1e834 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -9762,8 +9762,8 @@ void Library::InvalidateResolvedName(const String& name) const {
intptr_t num_libs = libs.Length();
for (intptr_t i = 0; i < num_libs; i++) {
lib ^= libs.At(i);
- if (LookupExportedNamesCache(name, &entry)) {
- InitExportedNamesCache();
+ if (lib.LookupExportedNamesCache(name, &entry)) {
+ lib.InitExportedNamesCache();
}
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698