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

Side by Side Diff: pkg/compiler/lib/src/kernel/kernel.dart

Issue 2360773003: More kernel_impact. (Closed)
Patch Set: Updated cf. comments Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:collection' show Queue; 6 import 'dart:collection' show Queue;
7 7
8 import 'package:kernel/ast.dart' as ir; 8 import 'package:kernel/ast.dart' as ir;
9 import 'package:kernel/checks.dart' show CheckParentPointers; 9 import 'package:kernel/checks.dart' show CheckParentPointers;
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 final Compiler compiler; 44 final Compiler compiler;
45 45
46 final Map<LibraryElement, ir.Library> libraries = 46 final Map<LibraryElement, ir.Library> libraries =
47 <LibraryElement, ir.Library>{}; 47 <LibraryElement, ir.Library>{};
48 48
49 final Map<ClassElement, ir.Class> classes = <ClassElement, ir.Class>{}; 49 final Map<ClassElement, ir.Class> classes = <ClassElement, ir.Class>{};
50 50
51 final Map<FunctionElement, ir.Member> functions = 51 final Map<FunctionElement, ir.Member> functions =
52 <FunctionElement, ir.Member>{}; 52 <FunctionElement, ir.Member>{};
53 53
54 final Map<LocalFunctionElement, ir.FunctionDeclaration> localFunctions = 54 final Map<LocalFunctionElement, ir.Node> localFunctions =
55 <LocalFunctionElement, ir.FunctionDeclaration>{}; 55 <LocalFunctionElement, ir.Node>{};
56 56
57 final Map<FieldElement, ir.Field> fields = <FieldElement, ir.Field>{}; 57 final Map<FieldElement, ir.Field> fields = <FieldElement, ir.Field>{};
58 58
59 final Map<TypeVariableElement, ir.TypeParameter> typeParameters = 59 final Map<TypeVariableElement, ir.TypeParameter> typeParameters =
60 <TypeVariableElement, ir.TypeParameter>{}; 60 <TypeVariableElement, ir.TypeParameter>{};
61 61
62 final Map<TypeVariableElement, ir.TypeParameter> factoryTypeParameters = 62 final Map<TypeVariableElement, ir.TypeParameter> factoryTypeParameters =
63 <TypeVariableElement, ir.TypeParameter>{}; 63 <TypeVariableElement, ir.TypeParameter>{};
64 64
65 final Set<ir.TreeNode> checkedNodes = new Set<ir.TreeNode>(); 65 final Set<ir.TreeNode> checkedNodes = new Set<ir.TreeNode>();
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 } 651 }
652 652
653 class ConstructorTarget { 653 class ConstructorTarget {
654 final ConstructorElement element; 654 final ConstructorElement element;
655 final DartType type; 655 final DartType type;
656 656
657 ConstructorTarget(this.element, this.type); 657 ConstructorTarget(this.element, this.type);
658 658
659 String toString() => "ConstructorTarget($element, $type)"; 659 String toString() => "ConstructorTarget($element, $type)";
660 } 660 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend.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