Index: dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
diff --git a/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart b/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
index 0f2398853b6dcb48d6a5609b973ae81ae3e4453e..76e92c092efd13b4cf56c842a57e966bd98577d0 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
@@ -2631,7 +2631,8 @@ class SsaBuilder extends ResolvedVisitor implements Visitor { |
// creating an [HStatic]. |
push(new HStatic(element.declaration)); |
// TODO(ahe): This should be registered in codegen. |
- compiler.enqueuer.codegen.registerGetOfStaticFunction(element); |
+ compiler.enqueuer.codegen.registerGetOfStaticFunction( |
+ element.declaration); |
} else if (Elements.isErroneousElement(element)) { |
// An erroneous element indicates an unresolved static getter. |
generateThrowNoSuchMethod(send, |