OLD | NEW |
1 part of leap; | |
2 | |
3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
4 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
5 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
6 | 4 |
7 compilerIsolate(port) { | 5 compilerIsolate(port) { |
8 Runner runner = new Runner(); | 6 Runner runner = new Runner(); |
9 runner.init(); | 7 runner.init(); |
10 | 8 |
11 port.receive((msg, replyTo) { | 9 port.receive((msg, replyTo) { |
12 replyTo.send(runner.update(msg)); | 10 replyTo.send(runner.update(msg)); |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 mainApp = new LibraryElement(script); | 278 mainApp = new LibraryElement(script); |
281 | 279 |
282 universe.libraries.remove(script.uri.toString()); | 280 universe.libraries.remove(script.uri.toString()); |
283 Element element; | 281 Element element; |
284 withCurrentElement(mainApp, () { | 282 withCurrentElement(mainApp, () { |
285 scanner.scan(mainApp); | 283 scanner.scan(mainApp); |
286 }); | 284 }); |
287 return mainApp; | 285 return mainApp; |
288 } | 286 } |
289 } | 287 } |
OLD | NEW |