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

Unified Diff: pkg/dart2js_incremental/lib/dart2js_incremental.dart

Issue 1409803006: Rename apiimpl.Compiler to CompilerImpl. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix long lines Created 5 years, 2 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: pkg/dart2js_incremental/lib/dart2js_incremental.dart
diff --git a/pkg/dart2js_incremental/lib/dart2js_incremental.dart b/pkg/dart2js_incremental/lib/dart2js_incremental.dart
index 12d285c8dde587774a6803a6376bde4a5b6a9608..a03829defa98d690f5d6b1e004f81e7c2a657010 100644
--- a/pkg/dart2js_incremental/lib/dart2js_incremental.dart
+++ b/pkg/dart2js_incremental/lib/dart2js_incremental.dart
@@ -12,7 +12,7 @@ import 'dart:developer' show
UserTag;
import 'package:compiler/src/apiimpl.dart' show
- Compiler;
+ CompilerImpl;
import 'package:compiler/compiler_new.dart' show
CompilerDiagnostics,
@@ -59,7 +59,7 @@ class IncrementalCompiler {
final List<String> _updates = <String>[];
final IncrementalCompilerContext _context = new IncrementalCompilerContext();
- Compiler _compiler;
+ CompilerImpl _compiler;
IncrementalCompiler({
this.libraryRoot,
@@ -86,16 +86,16 @@ class IncrementalCompiler {
LibraryElement get mainApp => _compiler.mainApp;
- Compiler get compiler => _compiler;
+ CompilerImpl get compiler => _compiler;
Future<bool> compile(Uri script) {
- return _reuseCompiler(null).then((Compiler compiler) {
+ return _reuseCompiler(null).then((CompilerImpl compiler) {
_compiler = compiler;
return compiler.run(script);
});
}
- Future<Compiler> _reuseCompiler(
+ Future<CompilerImpl> _reuseCompiler(
Future<bool> reuseLibrary(LibraryElement library)) {
List<String> options = this.options == null
? <String> [] : new List<String>.from(this.options);
@@ -133,7 +133,7 @@ class IncrementalCompiler {
logVerbose,
_context);
_context.registerUriWithUpdates(updatedFiles.keys);
- Future<Compiler> future = _reuseCompiler(updater.reuseLibrary);
+ Future<CompilerImpl> future = _reuseCompiler(updater.reuseLibrary);
return future.then((Compiler compiler) {
_compiler = compiler;
if (compiler.compilationFailed) {
« no previous file with comments | « pkg/dart2js_incremental/lib/caching_compiler.dart ('k') | tests/compiler/dart2js/analyze_dart2js_helpers_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698