Index: pkg/compiler/lib/src/kernel/native_basic_data.dart |
diff --git a/pkg/compiler/lib/src/kernel/native_basic_data.dart b/pkg/compiler/lib/src/kernel/native_basic_data.dart |
index 0bcda3d2f569bb97fcf3e3843ba534b6c40486db..016b211395f5ac0e07f4e5e3b73fa6da4efdfb94 100644 |
--- a/pkg/compiler/lib/src/kernel/native_basic_data.dart |
+++ b/pkg/compiler/lib/src/kernel/native_basic_data.dart |
@@ -7,11 +7,11 @@ part of dart2js.kernel.element_map; |
class KernelAnnotationProcessor implements AnnotationProcessor { |
final KernelToElementMapForImpactImpl2 elementMap; |
+ final NativeBasicDataBuilder _nativeBasicDataBuilder; |
- KernelAnnotationProcessor(this.elementMap); |
+ KernelAnnotationProcessor(this.elementMap, this._nativeBasicDataBuilder); |
- void extractNativeAnnotations( |
- LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder) { |
+ void extractNativeAnnotations(LibraryEntity library) { |
ElementEnvironment elementEnvironment = elementMap.elementEnvironment; |
CommonElements commonElements = elementMap.commonElements; |
@@ -30,13 +30,12 @@ class KernelAnnotationProcessor implements AnnotationProcessor { |
} |
} |
if (annotationName != null) { |
- nativeBasicDataBuilder.setNativeClassTagInfo(cls, annotationName); |
+ _nativeBasicDataBuilder.setNativeClassTagInfo(cls, annotationName); |
} |
}); |
} |
- void extractJsInteropAnnotations( |
- LibraryEntity library, NativeBasicDataBuilder nativeBasicDataBuilder) { |
+ void extractJsInteropAnnotations(LibraryEntity library) { |
// TODO(redemption): Implement this. |
} |