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

Unified Diff: src/objects-inl.h

Issue 2368613002: [modules] Simplify treatment of empty imports. (Closed)
Patch Set: Created 4 years, 3 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 | « src/objects.h ('k') | src/parsing/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 534d8a55411c5ef0793492901dad3a345302b776..b1cfceea7742c36b479aa1c5e75d91677e42244d 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -7985,8 +7985,8 @@ FixedArray* ModuleInfo::regular_imports() const {
return FixedArray::cast(get(kRegularImportsIndex));
}
-FixedArray* ModuleInfo::special_imports() const {
- return FixedArray::cast(get(kSpecialImportsIndex));
+FixedArray* ModuleInfo::namespace_imports() const {
+ return FixedArray::cast(get(kNamespaceImportsIndex));
}
#ifdef DEBUG
@@ -7994,7 +7994,7 @@ bool ModuleInfo::Equals(ModuleInfo* other) const {
return regular_exports() == other->regular_exports() &&
regular_imports() == other->regular_imports() &&
special_exports() == other->special_exports() &&
- special_imports() == other->special_imports();
+ namespace_imports() == other->namespace_imports();
}
#endif
« no previous file with comments | « src/objects.h ('k') | src/parsing/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698