Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1390)

Side by Side Diff: lib/runtime/dart/_isolate_helper.js

Issue 1182653002: Refactor runtime into libraries, better type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Address comments 2 Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/runtime/dart/_internal.js ('k') | lib/runtime/dart/_js_embedded_names.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 });
OLDNEW
« no previous file with comments | « lib/runtime/dart/_internal.js ('k') | lib/runtime/dart/_js_embedded_names.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698