Index: pkg/compiler/lib/src/ssa/builder.dart |
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart |
index 1e002ecdb1de4ac6c0bad7c4d2bcaca06e3fe400..50fa510cee2b5419e9214dcabb19d4b9338af5c8 100644 |
--- a/pkg/compiler/lib/src/ssa/builder.dart |
+++ b/pkg/compiler/lib/src/ssa/builder.dart |
@@ -3401,6 +3401,8 @@ class SsaBuilder extends NewResolvedVisitor { |
// TODO(5346): Try to avoid the need for calling [declaration] before |
// creating an [HStatic]. |
push(new HStatic(function.declaration, backend.nonNullType)); |
+ // TODO(ahe): This should be registered in codegen. |
+ registry.registerGetOfStaticFunction(function.declaration); |
} |
/// Read a local variable, function or parameter. |