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

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

Issue 24282005: Move compile-time constant registrations to the backend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status Created 7 years, 3 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/mirrors_used.dart
diff --git a/sdk/lib/_internal/compiler/implementation/mirrors_used.dart b/sdk/lib/_internal/compiler/implementation/mirrors_used.dart
index 98707c653cd0d4e1f7833997f182bf2c8c3fb43c..aad7d8b67b83f381ac04c413015c95d651ee4d6e 100644
--- a/sdk/lib/_internal/compiler/implementation/mirrors_used.dart
+++ b/sdk/lib/_internal/compiler/implementation/mirrors_used.dart
@@ -134,11 +134,11 @@ class MirrorUsageAnalyzerTask extends CompilerTask {
for (Node argument in node.send.arguments) {
NamedArgument named = argument.asNamedArgument();
if (named == null) continue;
- Constant value = compiler.metadataHandler.compileNodeWithDefinitions(
+ Constant value = compiler.constantHandler.compileNodeWithDefinitions(
named.expression, mapping, isConst: true);
ConstantMapper mapper =
- new ConstantMapper(compiler.metadataHandler, mapping, compiler);
+ new ConstantMapper(compiler.constantHandler, mapping, compiler);
named.expression.accept(mapper);
MirrorUsageBuilder builder =

Powered by Google App Engine
This is Rietveld 408576698