| OLD | NEW |
| 1 // 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 |
| 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 patch class ReceivePort { | 5 patch class ReceivePort { |
| 6 /* patch */ factory ReceivePort() { | 6 /* patch */ factory ReceivePort() { |
| 7 return new _ReceivePortImpl(); | 7 return new _ReceivePortImpl(); |
| 8 } | 8 } |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 124 |
| 125 patch class _Isolate { | 125 patch class _Isolate { |
| 126 /* patch */ static ReceivePort get port { | 126 /* patch */ static ReceivePort get port { |
| 127 if (_portInternal == null) { | 127 if (_portInternal == null) { |
| 128 _portInternal = _getPortInternal(); | 128 _portInternal = _getPortInternal(); |
| 129 } | 129 } |
| 130 return _portInternal; | 130 return _portInternal; |
| 131 } | 131 } |
| 132 | 132 |
| 133 /* patch */ static spawnFunction(void topLevelFunction(), | 133 /* patch */ static spawnFunction(void topLevelFunction(), |
| 134 [bool UnhandledExceptionCallback(IsolateUnhandledException e)]) | 134 [bool unhandledExceptionCallback(IsolateUnhandledException e)]) |
| 135 native "isolate_spawnFunction"; | 135 native "isolate_spawnFunction"; |
| 136 | 136 |
| 137 /* patch */ static spawnUri(String uri) native "isolate_spawnUri"; | 137 /* patch */ static spawnUri(String uri) native "isolate_spawnUri"; |
| 138 } | 138 } |
| OLD | NEW |