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

Unified Diff: sdk/lib/_internal/compiler/implementation/world.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/world.dart
diff --git a/sdk/lib/_internal/compiler/implementation/world.dart b/sdk/lib/_internal/compiler/implementation/world.dart
index 91a95d263d5a580e78d02fd9cb8c5db0f8a2f65a..033c95ba404981cbe512c2a03a31ccb36240b2d5 100644
--- a/sdk/lib/_internal/compiler/implementation/world.dart
+++ b/sdk/lib/_internal/compiler/implementation/world.dart
@@ -273,4 +273,9 @@ class World {
bool getCannotThrow(Element element) {
return elementsThatCannotThrow.contains(element);
}
+
+ void registerImplicitSuperCall(TreeElements elements,
+ FunctionElement superConstructor) {
+ elements.otherDependencies.add(superConstructor);
+ }
}

Powered by Google App Engine
This is Rietveld 408576698