Index: tests/compiler/dart2js/serialization/impact_test.dart |
diff --git a/tests/compiler/dart2js/serialization/impact_test.dart b/tests/compiler/dart2js/serialization/impact_test.dart |
index ea1d11386aad2cb4ae8d2d0b5ddffacb09a359ff..5b062fef79c859c1b680a2a9403e8217626c438a 100644 |
--- a/tests/compiler/dart2js/serialization/impact_test.dart |
+++ b/tests/compiler/dart2js/serialization/impact_test.dart |
@@ -7,11 +7,8 @@ library dart2js.serialization_impact_test; |
import 'dart:async'; |
import 'package:async_helper/async_helper.dart'; |
import 'package:compiler/src/commandline_options.dart'; |
-import 'package:compiler/src/common/resolution.dart'; |
import 'package:compiler/src/compiler.dart'; |
-import 'package:compiler/src/elements/elements.dart'; |
import 'package:compiler/src/filenames.dart'; |
-import 'package:compiler/src/serialization/equivalence.dart'; |
import '../memory_compiler.dart'; |
import 'helper.dart'; |
import 'test_helper.dart'; |
@@ -48,7 +45,7 @@ Future check( |
memorySourceFiles: sourceFiles, |
options: [Flags.analyzeAll]); |
compilerDeserialized.resolution.retainCachesForTesting = true; |
- deserialize(compilerDeserialized, serializedData); |
+ compilerDeserialized.serialization.deserializeFromText(serializedData); |
await compilerDeserialized.run(entryPoint); |
checkAllImpacts(compilerNormal, compilerDeserialized, verbose: verbose); |