| Index: pkg/compiler/lib/src/js_emitter/model.dart
|
| diff --git a/pkg/compiler/lib/src/js_emitter/model.dart b/pkg/compiler/lib/src/js_emitter/model.dart
|
| index f70be0505674b9be7ced3bb3c9eb780b2df5e88a..b4b1789afc42463002e790a942415efdfc893f6b 100644
|
| --- a/pkg/compiler/lib/src/js_emitter/model.dart
|
| +++ b/pkg/compiler/lib/src/js_emitter/model.dart
|
| @@ -135,12 +135,15 @@ class Class {
|
| Class superclass;
|
| final List<Method> methods;
|
| final List<InstanceField> fields;
|
| + final bool onlyForRti;
|
|
|
| /// Whether the class must be evaluated eagerly.
|
| bool isEager = false;
|
|
|
| Class(this.name, this.holder, this.methods, this.fields,
|
| - { this.isEager: false });
|
| + { this.onlyForRti }) {
|
| + assert(onlyForRti != null);
|
| + }
|
|
|
| void setSuperclass(Class superclass) {
|
| this.superclass = superclass;
|
|
|