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

Unified Diff: pkg/compiler/lib/src/patch_parser.dart

Issue 1229923005: dart2js: support tear-offs in the startup emitter. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix bad assert. Created 5 years, 5 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/compiler/lib/src/patch_parser.dart
diff --git a/pkg/compiler/lib/src/patch_parser.dart b/pkg/compiler/lib/src/patch_parser.dart
index 297897b8711c03ca8308aec7894f2ae6e52e863c..a639a5856839532b870f59ac8a0c2c63bc91afa8 100644
--- a/pkg/compiler/lib/src/patch_parser.dart
+++ b/pkg/compiler/lib/src/patch_parser.dart
@@ -440,6 +440,8 @@ class PatchAnnotationHandler implements EagerAnnotationHandler<PatchVersion> {
return const PatchVersion('full');
} else if (annotation.beginToken.next.value == 'patch_lazy') {
return const PatchVersion('lazy');
+ } else if (annotation.beginToken.next.value == 'patch_startup') {
+ return const PatchVersion('startup');
}
}
return null;

Powered by Google App Engine
This is Rietveld 408576698