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 a39f87cd0154b3f5c73a113ea423ff76ffc08483..2368c398bea7f8df3a339126881df4802ca6ba31 100644 |
--- a/pkg/compiler/lib/src/ssa/builder.dart |
+++ b/pkg/compiler/lib/src/ssa/builder.dart |
@@ -394,7 +394,7 @@ class SsaBuilder extends ast.Visitor |
// TODO(johnniwinther): Register this on the [registry]. Currently the |
// [CodegenRegistry] calls the enqueuer, but [element] should _not_ be |
// enqueued. |
- backend.registerStaticUse(element, compiler.enqueuer.codegen); |
+ backend.registerStaticUse(element, forResolution: false); |
if (backend.isJsInterop(element) && !element.isFactoryConstructor) { |
// We only inline factory JavaScript interop constructors. |