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

Unified Diff: dart/pkg/compiler/lib/src/world.dart

Issue 719443002: Incremental compilation: set up inheritance. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address Stephan's suggestions. 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
« no previous file with comments | « dart/pkg/compiler/lib/src/warnings.dart ('k') | dart/pkg/dart2js_incremental/lib/library_updater.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/compiler/lib/src/world.dart
diff --git a/dart/pkg/compiler/lib/src/world.dart b/dart/pkg/compiler/lib/src/world.dart
index 4391cdb3fc3de33dca1f69415ef7f0c8eb849599..781648f7ded769b8e9b632ae720910c0925c2dee 100644
--- a/dart/pkg/compiler/lib/src/world.dart
+++ b/dart/pkg/compiler/lib/src/world.dart
@@ -96,6 +96,8 @@ abstract class ClassWorld {
/// Returns `true` if any subclass of [superclass] implements [type].
bool hasAnySubclassThatImplements(ClassElement superclass, ClassElement type);
+
+ bool get hasClosedWorldAssumption;
Johnni Winther 2014/11/14 10:20:53 Document what this implies. As I read the use it
ahe 2014/11/14 14:40:05 I got this wrong. The return value should have bee
}
class World implements ClassWorld {
@@ -521,4 +523,6 @@ class World implements ClassWorld {
}
return functionsThatMightBePassedToApply.contains(element);
}
+
+ bool get hasClosedWorldAssumption => compiler.hasIncrementalSupport;
}
« no previous file with comments | « dart/pkg/compiler/lib/src/warnings.dart ('k') | dart/pkg/dart2js_incremental/lib/library_updater.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698