| 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 file for the dart:isolate library. |
| 6 |
| 7 /******************************************************** |
| 8 Inserted from lib/isolate/serialization.dart |
| 9 ********************************************************/ |
| 10 |
| 5 class _MessageTraverserVisitedMap { | 11 class _MessageTraverserVisitedMap { |
| 6 | 12 |
| 7 operator[](var object) => null; | 13 operator[](var object) => null; |
| 8 void operator[]=(var object, var info) { } | 14 void operator[]=(var object, var info) { } |
| 9 | 15 |
| 10 void reset() { } | 16 void reset() { } |
| 11 void cleanup() { } | 17 void cleanup() { } |
| 12 | 18 |
| 13 } | 19 } |
| 14 | 20 |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 return result; | 203 return result; |
| 198 } | 204 } |
| 199 | 205 |
| 200 abstract deserializeSendPort(List x); | 206 abstract deserializeSendPort(List x); |
| 201 | 207 |
| 202 deserializeObject(List x) { | 208 deserializeObject(List x) { |
| 203 // TODO(floitsch): Use real exception (which one?). | 209 // TODO(floitsch): Use real exception (which one?). |
| 204 throw "Unexpected serialized object"; | 210 throw "Unexpected serialized object"; |
| 205 } | 211 } |
| 206 } | 212 } |
| 213 |
| OLD | NEW |