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

Unified Diff: lib/compiler/implementation/compile_time_constants.dart

Issue 10825337: Add name and library to selectors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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: lib/compiler/implementation/compile_time_constants.dart
diff --git a/lib/compiler/implementation/compile_time_constants.dart b/lib/compiler/implementation/compile_time_constants.dart
index 8ed21a8864e62e63a9a7c2abe66121b59c35ad6d..d70bd83f3b5126ab021a1ee99ea2982f923a6bde 100644
--- a/lib/compiler/implementation/compile_time_constants.dart
+++ b/lib/compiler/implementation/compile_time_constants.dart
@@ -1138,7 +1138,10 @@ class ConstructorEvaluator extends CompileTimeConstantEvaluator {
node: functionNode);
}
- evaluateSuperOrRedirectSend(Selector.INVOCATION_0,
+ Selector selector = new Selector.call(superClass.name,
+ enclosingClass.getLibrary(),
+ 0);
+ evaluateSuperOrRedirectSend(selector,
const EmptyLink<Node>(),
targetConstructor);
}
« no previous file with comments | « no previous file | lib/compiler/implementation/compiler.dart » ('j') | lib/compiler/implementation/ssa/builder.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698