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

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

Issue 1235563003: Add interfaces for a new compiler API. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Rebased 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
Index: tests/compiler/dart2js/codegen_helper.dart
diff --git a/tests/compiler/dart2js/codegen_helper.dart b/tests/compiler/dart2js/codegen_helper.dart
index 52f4312d6cd10ce1f0544762467f2e48aa091f8f..151244294912b51f678324515f5e37d74c69c277 100644
--- a/tests/compiler/dart2js/codegen_helper.dart
+++ b/tests/compiler/dart2js/codegen_helper.dart
@@ -4,7 +4,7 @@
import 'dart:async';
import 'package:expect/expect.dart';
-
+import 'package:compiler/src/null_compiler_output.dart';
import 'memory_source_file_helper.dart';
Future<Map<String, String>> generate(String code,
@@ -16,9 +16,9 @@ Future<Map<String, String>> generate(String code,
var provider = new MemorySourceFileProvider({ 'main.dart': code });
var handler = new FormattingDiagnosticHandler(provider);
- Compiler compiler = new Compiler(provider.readStringFromUri,
- null,
- handler.diagnosticHandler,
+ Compiler compiler = new Compiler(provider,
+ const NullCompilerOutput(),
+ handler,
libraryRoot,
packageRoot,
options,
« no previous file with comments | « tests/compiler/dart2js/bad_output_io_test.dart ('k') | tests/compiler/dart2js/deferred_custom_element_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698