Chromium Code Reviews| 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 9a7ef02eca17fd0bc8c091b4f2f915de50c24f99..12f143d828835c004414cb68c00afa7dab60465b 100644 |
| --- a/pkg/compiler/lib/src/js_emitter/model.dart |
| +++ b/pkg/compiler/lib/src/js_emitter/model.dart |
| @@ -18,11 +18,7 @@ class Program { |
| /// A map from load id to the list of fragments that need to be loaded. |
| final Map<String, List<Fragment>> loadMap; |
| - /// Additional properties that have to be added to classes. |
| - final Map<Class, Map<String, js.Expression>> additionalProperties; |
| - |
| Program(this.fragments, |
| - this.additionalProperties, |
| this.loadMap, |
| {this.outputContainsNativeClasses, |
| this.outputContainsConstantList}) { |
| @@ -198,6 +194,9 @@ class Class implements FieldContainer { |
| /// Whether the class must be evaluated eagerly. |
| bool isEager = false; |
| + /// Data that must be emitted with the class for native interop. |
| + String nativeBlob; |
|
herhut
2015/01/26 14:58:22
For me, a BLOB is a Binary Large OBject. How about
floitsch
2015/01/26 18:02:26
My fault. I thought it was just referring to opaqu
floitsch
2015/01/27 12:58:59
Renamed to NativeInfo.
|
| + |
| Class(this.element, this.name, this.holder, |
| this.methods, |
| this.fields, |