OLD | NEW |
1 dart.library('dart/_isolate_helper', null, /* Imports */[ | 1 dart_library.library('dart/_isolate_helper', null, /* Imports */[ |
| 2 "dart_runtime/dart", |
2 'dart/core', | 3 'dart/core', |
3 'dart/_interceptors', | 4 'dart/_interceptors', |
4 'dart/_js_helper', | 5 'dart/_js_helper', |
5 'dart/isolate', | 6 'dart/isolate', |
6 'dart/_foreign_helper', | 7 'dart/_foreign_helper', |
7 'dart/collection', | 8 'dart/collection', |
8 'dart/async' | 9 'dart/async' |
9 ], /* Lazy imports */[ | 10 ], /* Lazy imports */[ |
10 'dart/_native_typed_data', | 11 'dart/_native_typed_data', |
11 'dart/_js_embedded_names' | 12 'dart/_js_embedded_names' |
12 ], function(exports, core, _interceptors, _js_helper, isolate, _foreign_helper,
collection, async, _native_typed_data, _js_embedded_names) { | 13 ], function(exports, dart, core, _interceptors, _js_helper, isolate, _foreign_he
lper, collection, async, _native_typed_data, _js_embedded_names) { |
13 'use strict'; | 14 'use strict'; |
| 15 let dartx = dart.dartx; |
14 function _serializeMessage(message) { | 16 function _serializeMessage(message) { |
15 return new _Serializer().serialize(message); | 17 return new _Serializer().serialize(message); |
16 } | 18 } |
17 dart.fn(_serializeMessage); | 19 dart.fn(_serializeMessage); |
18 function _deserializeMessage(message) { | 20 function _deserializeMessage(message) { |
19 return new _Deserializer().deserialize(message); | 21 return new _Deserializer().deserialize(message); |
20 } | 22 } |
21 dart.fn(_deserializeMessage); | 23 dart.fn(_deserializeMessage); |
22 function _clone(message) { | 24 function _clone(message) { |
23 let serializer = new _Serializer({serializeSendPorts: false}); | 25 let serializer = new _Serializer({serializeSendPorts: false}); |
(...skipping 1528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1552 exports.leaveJsAsync = leaveJsAsync; | 1554 exports.leaveJsAsync = leaveJsAsync; |
1553 exports.isWorker = isWorker; | 1555 exports.isWorker = isWorker; |
1554 exports.startRootIsolate = startRootIsolate; | 1556 exports.startRootIsolate = startRootIsolate; |
1555 exports.IsolateNatives = IsolateNatives; | 1557 exports.IsolateNatives = IsolateNatives; |
1556 exports.RawReceivePortImpl = RawReceivePortImpl; | 1558 exports.RawReceivePortImpl = RawReceivePortImpl; |
1557 exports.ReceivePortImpl = ReceivePortImpl; | 1559 exports.ReceivePortImpl = ReceivePortImpl; |
1558 exports.TimerImpl = TimerImpl; | 1560 exports.TimerImpl = TimerImpl; |
1559 exports.hasTimer = hasTimer; | 1561 exports.hasTimer = hasTimer; |
1560 exports.CapabilityImpl = CapabilityImpl; | 1562 exports.CapabilityImpl = CapabilityImpl; |
1561 }); | 1563 }); |
OLD | NEW |