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

Unified Diff: dart/lib/compiler/implementation/ssa/codegen.dart

Issue 10442107: Implement super read. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update status files Created 8 years, 7 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
« no previous file with comments | « dart/lib/compiler/implementation/ssa/builder.dart ('k') | dart/samples/tests/samples/samples.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/lib/compiler/implementation/ssa/codegen.dart
diff --git a/dart/lib/compiler/implementation/ssa/codegen.dart b/dart/lib/compiler/implementation/ssa/codegen.dart
index 4b0f6b047f6eb7c2d213e3306762fe443dc69b47..bce5e56d4d1786f9fca48121b94504ef390e96cf 100644
--- a/dart/lib/compiler/implementation/ssa/codegen.dart
+++ b/dart/lib/compiler/implementation/ssa/codegen.dart
@@ -1561,7 +1561,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
assert(superMethod.kind == ElementKind.GETTER);
String methodName =
compiler.namer.getterName(currentLibrary, superMethod.name);
- buffer.add('$className.prototype.$methodName.call()');
+ buffer.add('$className.prototype.$methodName.call(this)');
ngeoffray 2012/05/31 07:00:57 How could that code have ever worked before? Is th
ahe 2012/05/31 07:24:35 I think so. Actually, I think I need to change i
}
endExpression(JSPrecedence.CALL_PRECEDENCE);
world.registerStaticUse(superMethod);
« no previous file with comments | « dart/lib/compiler/implementation/ssa/builder.dart ('k') | dart/samples/tests/samples/samples.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698