| Index: pkg/compiler/lib/src/js_backend/codegen/glue.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/codegen/glue.dart b/pkg/compiler/lib/src/js_backend/codegen/glue.dart
|
| index 8b99d380dc3568bf3255268875e66277022daaf0..7feb21cfd0bec7f27e9adadb1e84caa3fbc81ee6 100644
|
| --- a/pkg/compiler/lib/src/js_backend/codegen/glue.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/codegen/glue.dart
|
| @@ -227,7 +227,7 @@ class Glue {
|
| }
|
|
|
| int getTypeVariableIndex(TypeVariableType variable) {
|
| - return RuntimeTypes.getTypeVariableIndex(variable.element);
|
| + return variable.element.index;
|
| }
|
|
|
| bool needsSubstitutionForTypeVariableAccess(ClassElement cls) {
|
| @@ -244,7 +244,7 @@ class Glue {
|
| List<js.Expression> arguments,
|
| CodegenRegistry registry) {
|
| int variableIndex = 0;
|
| - js.Expression representation = _backend.rti.getTypeRepresentation(
|
| + js.Expression representation = _backend.rtiEncoder.getTypeRepresentation(
|
| dartType,
|
| (_) => arguments[variableIndex++]);
|
| assert(variableIndex == arguments.length);
|
|
|