Chromium Code Reviews| Index: pkg/compiler/lib/src/enqueue.dart |
| diff --git a/pkg/compiler/lib/src/enqueue.dart b/pkg/compiler/lib/src/enqueue.dart |
| index 9325653f7fbf34e3f9cab61fdae4e3c9e59f0a4e..d1828b8ed147791d7bd0ee70a2a5f2f23e825603 100644 |
| --- a/pkg/compiler/lib/src/enqueue.dart |
| +++ b/pkg/compiler/lib/src/enqueue.dart |
| @@ -96,7 +96,12 @@ abstract class Enqueuer { |
| */ |
| void addToWorkList(Element element) { |
| assert(invariant(element, element.isDeclaration)); |
| - internalAddToWorkList(element); |
| + if (internalAddToWorkList(element)) { |
| + // TODO(sigmund): add other missing dependencies (internals, selectors |
| + // enqueued after allocations), also enable only for the codegen enqueuer. |
| + compiler.dumpInfoTask.registerDependency( |
|
Johnni Winther
2015/08/11 14:12:51
Make this registration conditional [compiler.dumpI
Siggi Cherem (dart-lang)
2015/08/11 19:51:45
Done.
|
| + compiler.currentElement, element); |
| + } |
| } |
| /** |