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

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

Issue 2786083002: Read platform.dill in the VM. (Closed)
Patch Set: Allow main to be a field or getter. Created 3 years, 9 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
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 2c87df570979b7c95ebca030b559d3357531f6bd..2decd238f8a459aedbd4e3f93e7ff8b9018e985b 100644
--- a/pkg/kernel/lib/binary/ast_to_binary.dart
+++ b/pkg/kernel/lib/binary/ast_to_binary.dart
@@ -146,6 +146,9 @@ class BinaryPrinter extends Visitor {
writeStringReference(node.name);
}
+ StringIndexer get stringIndexer => _stringIndexer;
+ void flush() => _flush();
+
void writeProgramFile(Program program) {
program.computeCanonicalNames();
writeMagicWord(Tag.ProgramFile);

Powered by Google App Engine
This is Rietveld 408576698