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

Unified Diff: tests/compiler/dart2js/memory_compiler.dart

Issue 2954493002: Less inequivalence on Hello World! (Closed)
Patch Set: Updated cf. comments Created 3 years, 6 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
Index: tests/compiler/dart2js/memory_compiler.dart
diff --git a/tests/compiler/dart2js/memory_compiler.dart b/tests/compiler/dart2js/memory_compiler.dart
index ae3f9cb449f9475dfc6e11d03c75e1e5aae6e9df..3d758f1cd3b86340b01ae6700ff879e7028839ee 100644
--- a/tests/compiler/dart2js/memory_compiler.dart
+++ b/tests/compiler/dart2js/memory_compiler.dart
@@ -17,7 +17,6 @@ import 'package:compiler/compiler_new.dart'
import 'package:compiler/src/diagnostics/messages.dart' show Message;
import 'package:compiler/src/elements/entities.dart'
show LibraryEntity, MemberEntity;
-import 'package:compiler/src/elements/resolution_types.dart' show Types;
import 'package:compiler/src/enqueue.dart' show ResolutionEnqueuer;
import 'package:compiler/src/null_compiler_output.dart' show NullCompilerOutput;
import 'package:compiler/src/library_loader.dart' show LoadedLibraries;
@@ -173,8 +172,6 @@ CompilerImpl compilerFor(
packagesDiscoveryProvider: packagesDiscoveryProvider));
if (cachedCompiler != null) {
- Types types = cachedCompiler.types;
- compiler.types = types.copy(compiler.resolution);
Map copiedLibraries = {};
cachedCompiler.libraryLoader.libraries.forEach((dynamic library) {
if (library.isPlatformLibrary) {
« no previous file with comments | « tests/compiler/dart2js/kernel/compile_from_dill_test.dart ('k') | tests/compiler/dart2js/type_checker_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698