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

Unified Diff: pkg/kernel/lib/binary/ast_to_binary.dart

Issue 3008763002: Store actual Reference(s) for additional exports. (Closed)
Patch Set: Fixes for review comments. Created 3 years, 4 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 | « pkg/kernel/lib/binary/ast_from_binary.dart ('k') | pkg/kernel/lib/binary/limited_ast_to_binary.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/binary/ast_to_binary.dart
diff --git a/pkg/kernel/lib/binary/ast_to_binary.dart b/pkg/kernel/lib/binary/ast_to_binary.dart
index 23eaefd97854a97872b79e9ddfc035fc57c11b1f..ec8f413fd23cce9d87662698619e458173f62d5e 100644
--- a/pkg/kernel/lib/binary/ast_to_binary.dart
+++ b/pkg/kernel/lib/binary/ast_to_binary.dart
@@ -312,6 +312,7 @@ class BinaryPrinter extends Visitor {
writeUriReference(node.fileUri ?? '');
writeAnnotationList(node.annotations);
writeLibraryDependencies(node);
+ writeAdditionalExports(node);
writeLibraryParts(node);
writeNodeList(node.typedefs);
writeNodeList(node.classes);
@@ -331,6 +332,13 @@ class BinaryPrinter extends Visitor {
}
}
+ void writeAdditionalExports(Library library) {
+ writeUInt30(library.additionalExports.length);
+ for (Reference ref in library.additionalExports) {
+ writeReference(ref);
+ }
+ }
+
void writeLibraryDependency(LibraryDependency node) {
writeByte(node.flags);
writeNodeList(node.annotations);
« no previous file with comments | « pkg/kernel/lib/binary/ast_from_binary.dart ('k') | pkg/kernel/lib/binary/limited_ast_to_binary.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698