| Index: pkg/compiler/lib/src/dump_info.dart
|
| diff --git a/pkg/compiler/lib/src/dump_info.dart b/pkg/compiler/lib/src/dump_info.dart
|
| index ad94e4a225e92729b519b1681d385c085af5ad8c..bcb5627e724a81323d9eaf518fb57a1b62928005 100644
|
| --- a/pkg/compiler/lib/src/dump_info.dart
|
| +++ b/pkg/compiler/lib/src/dump_info.dart
|
| @@ -391,8 +391,8 @@ class DumpInfoTask extends CompilerTask implements InfoReporter {
|
| // is called.
|
| final Set<jsAst.Node> _tracking = new Set<jsAst.Node>();
|
| // A mapping from Dart Elements to Javascript AST Nodes.
|
| - final Map<Element, List<jsAst.Node>> _elementToNodes =
|
| - <Element, List<jsAst.Node>>{};
|
| + final Map<Entity, List<jsAst.Node>> _elementToNodes =
|
| + <Entity, List<jsAst.Node>>{};
|
| final Map<ConstantValue, jsAst.Node> _constantToNode =
|
| <ConstantValue, jsAst.Node>{};
|
| // A mapping from Javascript AST Nodes to the size of their
|
| @@ -473,7 +473,7 @@ class DumpInfoTask extends CompilerTask implements InfoReporter {
|
|
|
| // Registers that a javascript AST node `code` was produced by the
|
| // dart Element `element`.
|
| - void registerElementAst(Element element, jsAst.Node code) {
|
| + void registerElementAst(Entity element, jsAst.Node code) {
|
| if (compiler.options.dumpInfo) {
|
| _elementToNodes
|
| .putIfAbsent(element, () => new List<jsAst.Node>())
|
|
|