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

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

Issue 340783011: Take inheritance into account when computing the elements accessible by mirrors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebased + fixes Created 6 years, 6 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 | « no previous file | sdk/lib/_internal/compiler/implementation/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dart2js_incremental/lib/caching_compiler.dart
diff --git a/pkg/dart2js_incremental/lib/caching_compiler.dart b/pkg/dart2js_incremental/lib/caching_compiler.dart
index 8c4f5bd073072e3487c41cb40ae25634f3775ac4..b7d9fff9f3816136c87a6897335fc9b493ebd078 100644
--- a/pkg/dart2js_incremental/lib/caching_compiler.dart
+++ b/pkg/dart2js_incremental/lib/caching_compiler.dart
@@ -38,7 +38,7 @@ Compiler reuseCompiler(
!compiler.hasIncrementalSupport ||
compiler.hasCrashed ||
compiler.compilerWasCancelled ||
- compiler.enqueuer.resolution.hasEnqueuedEverything ||
+ compiler.enqueuer.resolution.hasEnqueuedReflectiveElements ||
compiler.deferredLoadTask.splitProgram) {
if (compiler != null && compiler.hasIncrementalSupport) {
print('***FLUSH***');
@@ -46,7 +46,7 @@ Compiler reuseCompiler(
print('Unable to reuse compiler due to crash.');
} else if (compiler.compilerWasCancelled) {
print('Unable to reuse compiler due to cancel.');
- } else if (compiler.enqueuer.resolution.hasEnqueuedEverything) {
+ } else if (compiler.enqueuer.resolution.hasEnqueuedReflectiveElements) {
print('Unable to reuse compiler due to dart:mirrors.');
} else if (compiler.deferredLoadTask.splitProgram) {
print('Unable to reuse compiler due to deferred loading.');
@@ -68,10 +68,10 @@ Compiler reuseCompiler(
..provider = inputProvider
..handler = diagnosticHandler
..enqueuer.resolution.queueIsClosed = false
- ..enqueuer.resolution.hasEnqueuedEverything = false
+ ..enqueuer.resolution.hasEnqueuedReflectiveElements = false
..enqueuer.resolution.hasEnqueuedReflectiveStaticFields = false
..enqueuer.codegen.queueIsClosed = false
- ..enqueuer.codegen.hasEnqueuedEverything = false
+ ..enqueuer.codegen.hasEnqueuedReflectiveElements = false
..enqueuer.codegen.hasEnqueuedReflectiveStaticFields = false
..assembledCode = null
..compilationFailed = false;
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698