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

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

Issue 1220333003: dart2js: Rename emitters. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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 b0bde835c9fcc104fd47f4dd73825177bfa66db9..297897b8711c03ca8308aec7894f2ae6e52e863c 100644
--- a/pkg/compiler/lib/src/patch_parser.dart
+++ b/pkg/compiler/lib/src/patch_parser.dart
@@ -436,10 +436,10 @@ class PatchAnnotationHandler implements EagerAnnotationHandler<PatchVersion> {
if (annotation.beginToken != null) {
if (annotation.beginToken.next.value == 'patch') {
return const PatchVersion(null);
- } else if (annotation.beginToken.next.value == 'patch_old') {
- return const PatchVersion('old');
- } else if (annotation.beginToken.next.value == 'patch_new') {
- return const PatchVersion('new');
+ } else if (annotation.beginToken.next.value == 'patch_full') {
+ return const PatchVersion('full');
+ } else if (annotation.beginToken.next.value == 'patch_lazy') {
+ return const PatchVersion('lazy');
}
}
return null;

Powered by Google App Engine
This is Rietveld 408576698