Index: pkg/compiler/lib/src/js_emitter/metadata_collector.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/metadata_collector.dart b/pkg/compiler/lib/src/js_emitter/metadata_collector.dart |
index 43aa5289bd00491f6085498a11588c7f13612e2b..009df8c3bd687d0717db95b7d82963b746803ae3 100644 |
--- a/pkg/compiler/lib/src/js_emitter/metadata_collector.dart |
+++ b/pkg/compiler/lib/src/js_emitter/metadata_collector.dart |
@@ -229,9 +229,8 @@ class MetadataCollector implements jsAst.TokenFinalizer { |
_MetadataEntry _addGlobalMetadata(jsAst.Node node) { |
String nameToKey(jsAst.Name name) => "${name.key}"; |
- String printed = jsAst.prettyPrint(node, _compiler, |
- renamerForNames: nameToKey) |
- .getText(); |
+ String printed = jsAst.prettyPrint( |
+ node, _compiler, renamerForNames: nameToKey); |
return _globalMetadataMap.putIfAbsent(printed, () { |
_BoundMetadataEntry result = new _BoundMetadataEntry(node); |
if (_compiler.hasIncrementalSupport) { |