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

Unified Diff: sdk/lib/_internal/js_runtime/lib/annotations.dart

Issue 2836733002: dart2js: patch file support cleanup (Closed)
Patch Set: remove js_array change Created 3 years, 8 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
« no previous file with comments | « pkg/compiler/lib/src/ssa/graph_builder.dart ('k') | sdk/lib/_internal/js_runtime/lib/core_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/js_runtime/lib/annotations.dart
diff --git a/sdk/lib/_internal/js_runtime/lib/annotations.dart b/sdk/lib/_internal/js_runtime/lib/annotations.dart
index 2862612259d1786e6bb043c929aaa1184dad7d28..483dd0c6a95b34563a9f859017baf65adb3691d1 100644
--- a/sdk/lib/_internal/js_runtime/lib/annotations.dart
+++ b/sdk/lib/_internal/js_runtime/lib/annotations.dart
@@ -43,19 +43,8 @@ class Native {
}
class _Patch {
- final String version;
-
- const _Patch(this.version);
+ const _Patch();
}
/// Annotation that marks the declaration as a patch.
-const _Patch patch = const _Patch(null);
-
-/// Annotation that marks the declaration as a patch for the full emitter.
-const _Patch patch_full = const _Patch('full');
-
-/// Annotation that marks the declaration as a patch for the lazy emitter.
-const _Patch patch_lazy = const _Patch('lazy');
-
-/// Annotation that marks the declaration as a patch for the startup emitter.
-const _Patch patch_startup = const _Patch('startup');
+const _Patch patch = const _Patch();
« no previous file with comments | « pkg/compiler/lib/src/ssa/graph_builder.dart ('k') | sdk/lib/_internal/js_runtime/lib/core_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698