| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // 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 |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // TODO(sigmund): this file should be removed when the dart code generation |
| 6 // backend is deleted. |
| 7 |
| 5 var isolate$current = null; | 8 var isolate$current = null; |
| 6 var isolate$rootIsolate = null; // Will only be set in the main worker. | 9 var isolate$rootIsolate = null; // Will only be set in the main worker. |
| 7 var isolate$inits = []; | 10 var isolate$inits = []; |
| 8 var isolate$globalThis = this; | 11 var isolate$globalThis = this; |
| 9 | 12 |
| 10 // These declarations are needed to avoid errors from the Closure Compiler | 13 // These declarations are needed to avoid errors from the Closure Compiler |
| 11 // optimizer. They are defined in client/dom/generated/dart_dom_wrapping.js. | 14 // optimizer. They are defined in client/dom/generated/dart_dom_wrapping.js. |
| 12 var __dom_wrap; | 15 var __dom_wrap; |
| 13 var __dom_unwrap; | 16 var __dom_unwrap; |
| 14 | 17 |
| (...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 } | 516 } |
| 514 | 517 |
| 515 function isolate$deserializeMessage(message) { | 518 function isolate$deserializeMessage(message) { |
| 516 if (isolate$useWorkers || isolate$useWorkerSerializationProtocol) { | 519 if (isolate$useWorkers || isolate$useWorkerSerializationProtocol) { |
| 517 return native__IsolateJsUtil__deserializeMessage(message); | 520 return native__IsolateJsUtil__deserializeMessage(message); |
| 518 } else { | 521 } else { |
| 519 // Nothing more to do. | 522 // Nothing more to do. |
| 520 return message; | 523 return message; |
| 521 } | 524 } |
| 522 } | 525 } |
| OLD | NEW |