Chromium Code Reviews| 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); |