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

Unified Diff: pkg/compiler/lib/src/js_emitter/old_emitter/container_builder.dart

Issue 891743002: Add support for super aliases to new emitter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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: pkg/compiler/lib/src/js_emitter/old_emitter/container_builder.dart
diff --git a/pkg/compiler/lib/src/js_emitter/old_emitter/container_builder.dart b/pkg/compiler/lib/src/js_emitter/old_emitter/container_builder.dart
index 573a9ee662cbdfb5725cd66bb22d8f5a13d54d69..569114979094d4c976b8c77be86c46ee0a3be7e9 100644
--- a/pkg/compiler/lib/src/js_emitter/old_emitter/container_builder.dart
+++ b/pkg/compiler/lib/src/js_emitter/old_emitter/container_builder.dart
@@ -285,7 +285,8 @@ class ContainerBuilder extends CodeEmitterHelper {
final bool canBeReflected = method.canBeReflected;
final bool canBeApplied = method.canBeApplied;
final bool isClosure = method is InstanceMethod && method.isClosure;
- final bool hasSuperAlias = method is InstanceMethod && method.hasSuperAlias;
+ final bool hasSuperAlias = method is InstanceMethod &&
+ method.superAlias != null;
final bool needStructuredInfo =
canTearOff || canBeReflected || canBeApplied || hasSuperAlias;

Powered by Google App Engine
This is Rietveld 408576698