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

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

Issue 2984263002: Make the ClosedWorld build the closure class on the kernel side. (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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_model/closure.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
sra1 2017/07/28 20:38:51 assert this is a function that can be used to find
Emily Fortuna 2017/07/28 21:37:06 You're right, this isn't an easy fix. I put it bac
Johnni Winther 2017/07/31 10:54:28 It is okay to use [Local] here. Long term we shoul
worldImpact.registerStaticUse(new StaticUse.closure(element));
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/js_model/closure.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698