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

Unified Diff: pkg/kernel/lib/ast.dart

Issue 2931773005: [kernel] Delete most of the AST (Closed)
Patch Set: Remove getMainClosure handeling as it no longer exists Created 3 years, 6 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/ast.dart
diff --git a/pkg/kernel/lib/ast.dart b/pkg/kernel/lib/ast.dart
index dcc0285ef761ae0f0e3c3e146f4b52626fbc384f..df81e611475f24c298880bb0367d65e5dd973bc9 100644
--- a/pkg/kernel/lib/ast.dart
+++ b/pkg/kernel/lib/ast.dart
@@ -242,6 +242,9 @@ class Reference {
// ------------------------------------------------------------------------
class Library extends NamedNode implements Comparable<Library> {
+ /// Offset of the declaration, set and used when writing the binary.
+ int binaryOffset = -1;
+
/// An import path to this library.
///
/// The [Uri] should have the `dart`, `package`, `app`, or `file` scheme.

Powered by Google App Engine
This is Rietveld 408576698