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

Unified Diff: pkg/compiler/lib/src/resolution/registry.dart

Issue 1149973004: Start to compute SendStructure in resolution. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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/resolution/registry.dart
diff --git a/pkg/compiler/lib/src/resolution/registry.dart b/pkg/compiler/lib/src/resolution/registry.dart
index 00ee9a5dfc2db7bded683e1ae8e4eab0bd52b160..70209b22239136802089f1308ae41df6f467eb92 100644
--- a/pkg/compiler/lib/src/resolution/registry.dart
+++ b/pkg/compiler/lib/src/resolution/registry.dart
@@ -379,6 +379,10 @@ class ResolutionRegistry extends Registry {
return mapping.isAssert(node);
}
+ void registerSendStructure(Send node, SendStructure sendStructure) {
+ mapping.setSendStructure(node, sendStructure);
+ }
+
void registerAsyncMarker(FunctionElement element) {
backend.registerAsyncMarker(element, world, this);
}

Powered by Google App Engine
This is Rietveld 408576698