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

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

Issue 2359453002: Handle local functions in kernel_impact. (Closed)
Patch Set: Updated cf. comments. Created 4 years, 3 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/js_backend/backend_impact.dart ('k') | pkg/compiler/lib/src/kernel/kernel_debug.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/kernel/kernel.dart
diff --git a/pkg/compiler/lib/src/kernel/kernel.dart b/pkg/compiler/lib/src/kernel/kernel.dart
index fa53c0e163885f446efda9e43488590bf0f6f0b3..bd1963153afd576368b711ade1bdf3f526596386 100644
--- a/pkg/compiler/lib/src/kernel/kernel.dart
+++ b/pkg/compiler/lib/src/kernel/kernel.dart
@@ -24,6 +24,7 @@ import '../elements/elements.dart'
FunctionElement,
ImportElement,
LibraryElement,
+ LocalFunctionElement,
MixinApplicationElement,
TypeVariableElement;
import '../elements/modelx.dart' show ErroneousFieldElementX;
@@ -50,6 +51,9 @@ class Kernel {
final Map<FunctionElement, ir.Member> functions =
<FunctionElement, ir.Member>{};
+ final Map<LocalFunctionElement, ir.FunctionDeclaration> localFunctions =
+ <LocalFunctionElement, ir.FunctionDeclaration>{};
+
final Map<FieldElement, ir.Field> fields = <FieldElement, ir.Field>{};
final Map<TypeVariableElement, ir.TypeParameter> typeParameters =
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend_impact.dart ('k') | pkg/compiler/lib/src/kernel/kernel_debug.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698