| 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 f2def5ceac1436eaa3dbcf80f206b60df036566a..3b8f1fe6a2a395cbe0d61ec6ce06e98ee1d77c4e 100644
|
| --- a/pkg/compiler/lib/src/ssa/builder.dart
|
| +++ b/pkg/compiler/lib/src/ssa/builder.dart
|
| @@ -378,7 +378,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, forResolution: false);
|
| + backend.registerStaticUse(compiler.enqueuer.codegen, element);
|
|
|
| if (backend.isJsInterop(element) && !element.isFactoryConstructor) {
|
| // We only inline factory JavaScript interop constructors.
|
|
|