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

Unified Diff: tool/input_sdk/private/mirror_helper.dart

Issue 1152333009: Delete dart2js specific private library code (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Rebase Created 5 years, 6 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 | « tool/input_sdk/private/js_rti.dart ('k') | tool/input_sdk/private/native_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk/private/mirror_helper.dart
diff --git a/tool/input_sdk/private/mirror_helper.dart b/tool/input_sdk/private/mirror_helper.dart
index 9c3024fa606840d1b36a5a83fb3a0364134a6698..85cf90677a0a6f104915494c11820067d83bd4e9 100644
--- a/tool/input_sdk/private/mirror_helper.dart
+++ b/tool/input_sdk/private/mirror_helper.dart
@@ -6,20 +6,3 @@
* changed as a result of compiling with dart2dart.
*/
library _mirror_helper;
-
-import 'dart:mirrors';
-
-/// The compiler will replace this variable with a map containing all the
-/// renames made in dart2dart.
-const Map<String, String> _SYMBOLS = null;
-
-/// This method is a wrapper for MirrorSystem.getName() and will be inlined and
-/// called in the generated output Dart code.
-String helperGetName(Symbol sym) {
- var name = MirrorSystem.getName(sym);
- if (_SYMBOLS.containsKey(name)) {
- return _SYMBOLS[name];
- } else {
- return name;
- }
-}
« no previous file with comments | « tool/input_sdk/private/js_rti.dart ('k') | tool/input_sdk/private/native_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698