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

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

Issue 2265473004: Introduce "CommonElements" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: cl Created 4 years, 4 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
« no previous file with comments | « tests/compiler/dart2js/compiler_helper.dart ('k') | tests/compiler/dart2js/minimal_resolution_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/memory_compiler.dart
diff --git a/tests/compiler/dart2js/memory_compiler.dart b/tests/compiler/dart2js/memory_compiler.dart
index 411257b5337d48e3cd7f2da35c789ff4a58e6a25..c829b16649f3c6295fa3f38454443820fd882b88 100644
--- a/tests/compiler/dart2js/memory_compiler.dart
+++ b/tests/compiler/dart2js/memory_compiler.dart
@@ -159,8 +159,6 @@ CompilerImpl compilerFor(
packagesDiscoveryProvider: packagesDiscoveryProvider));
if (cachedCompiler != null) {
- compiler.coreLibrary =
- cachedCompiler.libraryLoader.lookupLibrary(Uri.parse('dart:core'));
compiler.types = cachedCompiler.types.copy(compiler.resolution);
Map copiedLibraries = {};
cachedCompiler.libraryLoader.libraries.forEach((library) {
@@ -183,12 +181,6 @@ CompilerImpl compilerFor(
compiler.backend.constantCompilerTask.copyConstantValues(
cachedCompiler.backend.constantCompilerTask);
- compiler.mirrorSystemClass = cachedCompiler.mirrorSystemClass;
- compiler.mirrorsUsedClass = cachedCompiler.mirrorsUsedClass;
- compiler.mirrorSystemGetNameFunction =
- cachedCompiler.mirrorSystemGetNameFunction;
- compiler.mirrorsUsedConstructor = cachedCompiler.mirrorsUsedConstructor;
- compiler.deferredLibraryClass = cachedCompiler.deferredLibraryClass;
Iterable cachedTreeElements =
cachedCompiler.enqueuer.resolution.processedElements;
« no previous file with comments | « tests/compiler/dart2js/compiler_helper.dart ('k') | tests/compiler/dart2js/minimal_resolution_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698