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