| Index: pkg/compiler/lib/src/ssa/builder_kernel.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/builder_kernel.dart b/pkg/compiler/lib/src/ssa/builder_kernel.dart
|
| index 03b42b6c6cd8400384130a2695fa43a4ec16b55c..1e2ebd60fa2794b6a7349607f32f9983a3e58991 100644
|
| --- a/pkg/compiler/lib/src/ssa/builder_kernel.dart
|
| +++ b/pkg/compiler/lib/src/ssa/builder_kernel.dart
|
| @@ -229,8 +229,7 @@ class KernelSsaBuilder extends ir.Visitor with GraphBuilder {
|
| enclosing.typeParameters.forEach((ir.TypeParameter typeParameter) {
|
| var typeParamElement = astAdapter.getElement(typeParameter);
|
| HInstruction param;
|
| - needParameters ??=
|
| - rtiNeed.classNeedsRti(astAdapter.getElement(enclosing));
|
| + needParameters ??= rtiNeed.classNeedsRti(astAdapter.getClass(enclosing));
|
| if (needParameters) {
|
| param = addParameter(typeParamElement, commonMasks.nonNullType);
|
| } else {
|
|
|