Chromium Code Reviews| Index: lib/compiler/implementation/enqueue.dart |
| =================================================================== |
| --- lib/compiler/implementation/enqueue.dart (revision 12169) |
| +++ lib/compiler/implementation/enqueue.dart (working copy) |
| @@ -101,6 +101,9 @@ |
| if (elements === null) { |
| elements = getCachedElements(element); |
| } |
| + if (isResolutionQueue) { |
| + compiler.world.registerUsedElement(element); |
| + } |
| queue.add(new WorkItem(element, elements, itemCompilationContextCreator())); |