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

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

Issue 1809533004: Support serialization of WorldImpact (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments + cleanup. Created 4 years, 9 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
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 593b08fb43519d980fbc981ed080fe4cca2b395c..fd747e9e57189806de2819bd4d9e01455e4e63c9 100644
--- a/pkg/compiler/lib/src/patch_parser.dart
+++ b/pkg/compiler/lib/src/patch_parser.dart
@@ -463,7 +463,7 @@ class NativeAnnotationHandler implements EagerAnnotationHandler<String> {
String native = getNativeAnnotation(annotation);
if (native != null) {
JavaScriptBackend backend = compiler.backend;
- backend.setNativeClassTagInfo(element, native);
+ backend.nativeData.setNativeClassTagInfo(element, native);
return native;
}
}
@@ -496,7 +496,7 @@ class JsInteropAnnotationHandler implements EagerAnnotationHandler<bool> {
bool hasJsInterop = hasJsNameAnnotation(annotation);
if (hasJsInterop) {
JavaScriptBackend backend = compiler.backend;
- backend.markAsJsInterop(element);
+ backend.nativeData.markAsJsInterop(element);
}
// Due to semantics of apply in the baseclass we have to return null to
// indicate that no match was found.

Powered by Google App Engine
This is Rietveld 408576698