| Index: pkg/compiler/lib/src/js_emitter/program_builder.dart
|
| diff --git a/pkg/compiler/lib/src/js_emitter/program_builder.dart b/pkg/compiler/lib/src/js_emitter/program_builder.dart
|
| index a6d6fe80549fcc46ced09404fc74937ac082a22c..127084ad0f7efc662c5b7c2e1fd1978e2c963cd1 100644
|
| --- a/pkg/compiler/lib/src/js_emitter/program_builder.dart
|
| +++ b/pkg/compiler/lib/src/js_emitter/program_builder.dart
|
| @@ -290,7 +290,7 @@ class ProgramBuilder {
|
| String name = namer.getNameOfClass(element);
|
|
|
| return new Class(
|
| - element, name, null, [], instanceFields, [], [], [], [], null,
|
| + element, name, null, [], instanceFields, [], [], [], [], [], null,
|
| isDirectlyInstantiated: true,
|
| onlyForRti: false,
|
| isNative: element.isNative);
|
| @@ -329,6 +329,9 @@ class ProgramBuilder {
|
| }
|
| }
|
|
|
| + List<StubMethod> typeVariableReaderStubs =
|
| + classStubGenerator.generateTypeVariableReaderStubs(element);
|
| +
|
| List<StubMethod> noSuchMethodStubs = <StubMethod>[];
|
| if (element == _compiler.objectClass) {
|
| Map<String, Selector> selectors =
|
| @@ -381,6 +384,7 @@ class ProgramBuilder {
|
| instanceFields,
|
| staticFieldsForReflection,
|
| callStubs,
|
| + typeVariableReaderStubs,
|
| isChecks,
|
| typeTests.functionTypeIndex,
|
| isDirectlyInstantiated: isInstantiated,
|
| @@ -390,6 +394,7 @@ class ProgramBuilder {
|
| name, holder, methods, instanceFields,
|
| staticFieldsForReflection,
|
| callStubs,
|
| + typeVariableReaderStubs,
|
| noSuchMethodStubs,
|
| isChecks,
|
| typeTests.functionTypeIndex,
|
|
|