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

Unified Diff: pkg/compiler/lib/src/patch_parser.dart

Issue 2727253007: Add NativeClassData/NativeClassDataBuilder (Closed)
Patch Set: Created 3 years, 10 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 | « pkg/compiler/lib/src/native/enqueue.dart ('k') | pkg/compiler/lib/src/universe/codegen_world_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/patch_parser.dart
diff --git a/pkg/compiler/lib/src/patch_parser.dart b/pkg/compiler/lib/src/patch_parser.dart
index 6546b468ac800d3a870b3b7bd619fbfb7da16917..b1bc05f33dfc71087e55effe87aa3deb3d3a9870 100644
--- a/pkg/compiler/lib/src/patch_parser.dart
+++ b/pkg/compiler/lib/src/patch_parser.dart
@@ -409,7 +409,7 @@ class NativeAnnotationHandler implements EagerAnnotationHandler<String> {
String native = getNativeAnnotation(annotation);
if (native != null) {
JavaScriptBackend backend = compiler.backend;
- backend.nativeDataBuilder.setNativeClassTagInfo(element, native);
+ backend.nativeClassDataBuilder.setNativeClassTagInfo(element, native);
return native;
}
}
@@ -441,7 +441,7 @@ class JsInteropAnnotationHandler implements EagerAnnotationHandler<bool> {
bool hasJsInterop = hasJsNameAnnotation(annotation);
if (hasJsInterop) {
JavaScriptBackend backend = compiler.backend;
- backend.nativeDataBuilder.markAsJsInterop(element);
+ backend.nativeClassDataBuilder.markAsJsInterop(element);
}
// Due to semantics of apply in the baseclass we have to return null to
// indicate that no match was found.
« no previous file with comments | « pkg/compiler/lib/src/native/enqueue.dart ('k') | pkg/compiler/lib/src/universe/codegen_world_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698