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

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

Issue 1223293002: dart2js: Rename old emitter to full emitter and make it its own library. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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 | « pkg/dart2js_incremental/lib/library_updater.dart ('k') | tests/compiler/dart2js/source_mapping_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mirrors_used_test.dart
diff --git a/tests/compiler/dart2js/mirrors_used_test.dart b/tests/compiler/dart2js/mirrors_used_test.dart
index 53101cd5c5b2945870c38ce830db183f579b7bdc..e79df96799cbb1bbd14624d04b508131717014a7 100644
--- a/tests/compiler/dart2js/mirrors_used_test.dart
+++ b/tests/compiler/dart2js/mirrors_used_test.dart
@@ -26,6 +26,9 @@ import 'package:compiler/src/elements/elements.dart' show
import 'package:compiler/src/js_backend/js_backend.dart' show
JavaScriptBackend;
+import 'package:compiler/src/js_emitter/full_emitter/emitter.dart'
+ as full show Emitter;
+
void expectOnlyVerboseInfo(Uri uri, int begin, int end, String message, kind) {
if (kind.name == 'verbose info') {
print(message);
@@ -91,7 +94,7 @@ void main() {
// Mirrors only work in the full emitter. We can thus be certain that the
// emitter is the full emitter.
- OldEmitter fullEmitter = backend.emitter.emitter;
+ full.Emitter fullEmitter = backend.emitter.emitter;
Set recordedNames = new Set()
..addAll(fullEmitter.recordedMangledNames)
..addAll(fullEmitter.mangledFieldNames.keys)
« no previous file with comments | « pkg/dart2js_incremental/lib/library_updater.dart ('k') | tests/compiler/dart2js/source_mapping_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698