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

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

Issue 738423002: Use serialized scope info to test incremental compiler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r41910 and CL 750653002. Created 6 years, 1 month 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: dart/pkg/dart2js_incremental/lib/dart2js_incremental.dart
diff --git a/dart/pkg/dart2js_incremental/lib/dart2js_incremental.dart b/dart/pkg/dart2js_incremental/lib/dart2js_incremental.dart
index d1a3cb675226d71f6746257cb91d7007f40c2801..d5074f8bbddefd86c50f3535e5cd0c7d5b68cf34 100644
--- a/dart/pkg/dart2js_incremental/lib/dart2js_incremental.dart
+++ b/dart/pkg/dart2js_incremental/lib/dart2js_incremental.dart
@@ -75,6 +75,10 @@ class IncrementalCompiler {
}
}
+ LibraryElement get mainApp => _compiler.mainApp;
+
+ Compiler get compiler => _compiler;
+
Future<bool> compile(Uri script) {
return _reuseCompiler(null).then((Compiler compiler) {
_compiler = compiler;

Powered by Google App Engine
This is Rietveld 408576698