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

Unified Diff: pkg/compiler/lib/src/common/codegen.dart

Issue 2992763002: Add boxed fields in closure classes. (Closed)
Patch Set: . Created 3 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
Index: pkg/compiler/lib/src/common/codegen.dart
diff --git a/pkg/compiler/lib/src/common/codegen.dart b/pkg/compiler/lib/src/common/codegen.dart
index 00b49253ea2e503d2e39491961a18c8b021b4702..4fcf7b8ef8bdc7f81164ed4bc4b09da004b97748 100644
--- a/pkg/compiler/lib/src/common/codegen.dart
+++ b/pkg/compiler/lib/src/common/codegen.dart
@@ -147,7 +147,7 @@ class CodegenRegistry {
worldImpact.registerTypeVariableBoundsSubtypeCheck(subtype, supertype);
}
- void registerInstantiatedClosure(LocalFunctionElement element) {
+ void registerInstantiatedClosure(Local element) {
worldImpact.registerStaticUse(new StaticUse.closure(element));
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_model/closure.dart » ('j') | pkg/compiler/lib/src/js_model/closure_visitors.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698