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

Unified Diff: pkg/kernel/lib/transformations/flags.dart

Issue 2529973002: Speed up kernel sanity checks. (Closed)
Patch Set: Revert parent_pointer_test Created 4 years, 1 month 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/checks.dart ('k') | pkg/kernel/test/check_bench.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/transformations/flags.dart
diff --git a/pkg/kernel/lib/transformations/flags.dart b/pkg/kernel/lib/transformations/flags.dart
index 09d55d914b6028a86fe7608de01133ef5ece1b0b..093ff23e0cce16b818cdb026f81cc17b75bf719e 100644
--- a/pkg/kernel/lib/transformations/flags.dart
+++ b/pkg/kernel/lib/transformations/flags.dart
@@ -12,6 +12,10 @@ class TransformerFlag {
/// [SuperPropertyGet], [SuperPropertySet], [SuperMethodInvocation].
static const int superCalls = 1 << 0;
+ /// Temporary flag used by sanity checks to indicate that the given member
+ /// has been seen.
+ static const int seenBySanityCheck = 1 << 1;
+
// TODO(asgerf): We could also add a flag for 'async' and will probably have
// one for closures as well.
}
« no previous file with comments | « pkg/kernel/lib/checks.dart ('k') | pkg/kernel/test/check_bench.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698