Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Unified Diff: pkg/compiler/lib/src/js_emitter/model.dart

Issue 1215463006: Move nativeInfo encoding into NativeGenerator. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments and fix null-pointer error. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_emitter/native_emitter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b7e51bd3971110bb9c9d736b3e31cd203a429693..6b06eec99bf2e747ee4b4f3b554e36d341246818 100644
--- a/pkg/compiler/lib/src/js_emitter/model.dart
+++ b/pkg/compiler/lib/src/js_emitter/model.dart
@@ -243,8 +243,14 @@ 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.
- js.Literal nativeInfo;
+ /// Leaf tags. See [NativeEmitter.prepareNativeClasses].
+ List<String> nativeLeafTags;
+
+ /// Non-leaf tags. See [NativeEmitter.prepareNativeClasses].
+ List<String> nativeNonLeafTags;
+
+ /// Native extensions. See [NativeEmitter.prepareNativeClasses].
+ List<Class> nativeExtensions;
Class(this.element, this.name, this.holder,
this.methods,
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_emitter/native_emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698