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

Unified Diff: tool/input_sdk_patch/annotations.dart

Issue 955513008: cleans up sdk patching so we no longer have unresolved names (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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 | « test/generated_sdk/lib/typed_data/typed_data.dart ('k') | tool/input_sdk_patch/constant_map.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk_patch/annotations.dart
diff --git a/tool/input_sdk_patch/annotations.dart b/tool/input_sdk_patch/annotations.dart
deleted file mode 100644
index 1e63cf99a61c7774b6d5735ea8915acc36ed0e16..0000000000000000000000000000000000000000
--- a/tool/input_sdk_patch/annotations.dart
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-part of _js_helper;
-
-/// Tells the optimizing compiler that the annotated method has no
-/// side-effects.
-/// Requires @NoInline() to function correctly.
-class NoSideEffects {
- const NoSideEffects();
-}
-
-/// Tells the optimizing compiler that the annotated method cannot throw.
-/// Requires @NoInline() to function correctly.
-class NoThrows {
- const NoThrows();
-}
-
-/// Tells the optimizing compiler to not inline the annotated method.
-class NoInline {
- const NoInline();
-}
-
-// Ensures that the annotated method is represented internally using
-// IR nodes ([:value == true:]) or AST nodes ([:value == false:]).
-class IrRepresentation {
- final bool value;
- const IrRepresentation(this.value);
-}
-
-/// Marks a class as native and defines its JavaScript name(s).
-class Native {
- final String name;
- const Native(this.name);
-}
« no previous file with comments | « test/generated_sdk/lib/typed_data/typed_data.dart ('k') | tool/input_sdk_patch/constant_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698