Chromium Code Reviews| Index: lib/compiler/implementation/enqueue.dart |
| =================================================================== |
| --- lib/compiler/implementation/enqueue.dart (revision 11028) |
| +++ lib/compiler/implementation/enqueue.dart (working copy) |
| @@ -96,7 +96,13 @@ |
| if (elements === null) { |
| elements = getCachedElements(element); |
| } |
| + |
| queue.add(new WorkItem(element, elements, itemCompilationContextCreator())); |
| + |
| + if (!compiler.hasIsolateSupport() |
|
kasperl
2012/08/21 13:24:51
Add a comment that explains that this enables isol
ngeoffray
2012/08/23 14:06:02
Done.
|
| + && element.getLibrary().uri.toString() == 'dart:isolate') { |
| + compiler.enableIsolateSupport(element.getLibrary()); |
| + } |
| } |
| void eagerRecompile(Element element) { |