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

Unified Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 430913002: Better dependency tracking (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix self critiques Created 6 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: sdk/lib/_internal/compiler/implementation/compiler.dart
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
index 3b3cdcd79852c8208cb83fe9898042c44cf2ef14..aaf59478e71f50c5d037e0988d45ba9ac7c4c13e 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -53,8 +53,11 @@ class ResolutionWorkItem extends WorkItem {
class CodegenRegistry extends Registry {
final Compiler compiler;
final TreeElements treeElements;
+ DependencyInformation dependencyInfo;
sra1 2014/07/30 21:43:48 Allocate it (the only DependencyInformation) here,
Ty Overby (Google) 2014/08/01 16:39:37 Done. I got rid of DependencyInformation and use D
- CodegenRegistry(this.compiler, this.treeElements);
+ CodegenRegistry(this.compiler, this.treeElements) {
+ this.dependencyInfo = compiler.enqueuer.codegen.dependencyInfo;
+ }
bool get isForResolution => false;

Powered by Google App Engine
This is Rietveld 408576698