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

Unified Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 22791002: Add renames in output when using the mirror helper library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changed solution approach. Created 7 years, 4 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: sdk/lib/_internal/compiler/implementation/compiler.dart
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
index 91ee72a610f4ca239c2f7af099de85bd360d2392..92f798d42e0d8d592d33c4270b686fa15569a0b8 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -394,6 +394,7 @@ abstract class Compiler implements DiagnosticListener {
LibraryElement interceptorsLibrary;
LibraryElement foreignLibrary;
LibraryElement mainApp;
+ LibraryElement mirrorHelperLibrary;
ahe 2013/08/19 15:34:06 Could you move this to the backend?
ahe 2013/08/19 15:34:06 Document this field, see [mirrorsLibrary].
zarah 2013/08/20 14:08:17 Done.
zarah 2013/08/20 14:08:17 Done.
/// Initialized when dart:mirrors is loaded.
LibraryElement mirrorsLibrary;
@@ -447,6 +448,7 @@ abstract class Compiler implements DiagnosticListener {
Element functionApplyMethod;
Element invokeOnMethod;
Element createInvocationMirrorElement;
+ FunctionElement mirrorHelperFunction;
ahe 2013/08/19 15:34:06 Could this also be moved to the backend?
ahe 2013/08/19 15:34:06 More descriptive name and documentation. See [symb
zarah 2013/08/20 14:08:17 Done.
zarah 2013/08/20 14:08:17 Done.
Element get currentElement => _currentElement;

Powered by Google App Engine
This is Rietveld 408576698