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

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

Issue 219333005: Record the dependency of a implicit constructor to its superclass. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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/universe/universe.dart
diff --git a/sdk/lib/_internal/compiler/implementation/universe/universe.dart b/sdk/lib/_internal/compiler/implementation/universe/universe.dart
index 27da00d1b8091ac9d278b3513be4503f92a70184..5de330ab7db588e82fd2221d9969806ff99f4dc2 100644
--- a/sdk/lib/_internal/compiler/implementation/universe/universe.dart
+++ b/sdk/lib/_internal/compiler/implementation/universe/universe.dart
@@ -102,6 +102,11 @@ class Universe {
isChecks.add(type);
return type;
}
+
+ void registerImplicitSuperCall(TreeElements elements,
karlklose 2014/03/31 14:10:15 This should be recorded in the world, because it i
sigurdm 2014/03/31 14:27:00 Done.
+ FunctionElement superConstructor) {
+ elements.otherDependencies.add(superConstructor);
+ }
}
class SelectorKind {

Powered by Google App Engine
This is Rietveld 408576698