| OLD | NEW |
| 1 var _isolate_helper; | 1 var _isolate_helper; |
| 2 (function(exports) { | 2 (function(exports) { |
| 3 'use strict'; | 3 'use strict'; |
| 4 // Function _serializeMessage: (dynamic) → dynamic | 4 // Function _serializeMessage: (dynamic) → dynamic |
| 5 function _serializeMessage(message) { | 5 function _serializeMessage(message) { |
| 6 return new _Serializer().serialize(message); | 6 return new _Serializer().serialize(message); |
| 7 } | 7 } |
| 8 // Function _deserializeMessage: (dynamic) → dynamic | 8 // Function _deserializeMessage: (dynamic) → dynamic |
| 9 function _deserializeMessage(message) { | 9 function _deserializeMessage(message) { |
| 10 return new _Deserializer().deserialize(message); | 10 return new _Deserializer().deserialize(message); |
| (...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 819 }, | 819 }, |
| 820 get globalWorker() { | 820 get globalWorker() { |
| 821 _js_helper.requiresPreamble(); | 821 _js_helper.requiresPreamble(); |
| 822 return self.Worker; | 822 return self.Worker; |
| 823 }, | 823 }, |
| 824 get globalPostMessageDefined() { | 824 get globalPostMessageDefined() { |
| 825 _js_helper.requiresPreamble(); | 825 _js_helper.requiresPreamble(); |
| 826 return !!self.postMessage; | 826 return !!self.postMessage; |
| 827 } | 827 } |
| 828 }); | 828 }); |
| 829 class _MainFunction extends core.Function {} |
| 830 class _MainFunctionArgs extends core.Function {} |
| 831 class _MainFunctionArgsMessage extends core.Function {} |
| 829 let _getEventData = Symbol('_getEventData'); | 832 let _getEventData = Symbol('_getEventData'); |
| 830 let _getJSFunctionFromName = Symbol('_getJSFunctionFromName'); | 833 let _getJSFunctionFromName = Symbol('_getJSFunctionFromName'); |
| 831 let _startIsolate = Symbol('_startIsolate'); | 834 let _startIsolate = Symbol('_startIsolate'); |
| 832 let _log = Symbol('_log'); | 835 let _log = Symbol('_log'); |
| 833 let _consoleLog = Symbol('_consoleLog'); | 836 let _consoleLog = Symbol('_consoleLog'); |
| 834 let _getJSFunctionName = Symbol('_getJSFunctionName'); | 837 let _getJSFunctionName = Symbol('_getJSFunctionName'); |
| 835 let _allocate = Symbol('_allocate'); | 838 let _allocate = Symbol('_allocate'); |
| 836 let _startWorker = Symbol('_startWorker'); | 839 let _startWorker = Symbol('_startWorker'); |
| 837 let _startNonWorker = Symbol('_startNonWorker'); | 840 let _startNonWorker = Symbol('_startNonWorker'); |
| 838 let _spawnWorker = Symbol('_spawnWorker'); | 841 let _spawnWorker = Symbol('_spawnWorker'); |
| (...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1372 exports.leaveJsAsync = leaveJsAsync; | 1375 exports.leaveJsAsync = leaveJsAsync; |
| 1373 exports.isWorker = isWorker; | 1376 exports.isWorker = isWorker; |
| 1374 exports.startRootIsolate = startRootIsolate; | 1377 exports.startRootIsolate = startRootIsolate; |
| 1375 exports.IsolateNatives = IsolateNatives; | 1378 exports.IsolateNatives = IsolateNatives; |
| 1376 exports.RawReceivePortImpl = RawReceivePortImpl; | 1379 exports.RawReceivePortImpl = RawReceivePortImpl; |
| 1377 exports.ReceivePortImpl = ReceivePortImpl; | 1380 exports.ReceivePortImpl = ReceivePortImpl; |
| 1378 exports.TimerImpl = TimerImpl; | 1381 exports.TimerImpl = TimerImpl; |
| 1379 exports.hasTimer = hasTimer; | 1382 exports.hasTimer = hasTimer; |
| 1380 exports.CapabilityImpl = CapabilityImpl; | 1383 exports.CapabilityImpl = CapabilityImpl; |
| 1381 })(_isolate_helper || (_isolate_helper = {})); | 1384 })(_isolate_helper || (_isolate_helper = {})); |
| OLD | NEW |