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

Side by Side Diff: compiler/lib/implementation/isolate.js

Issue 9422019: isolates refactor: this change introduces 'dart:isolate' as a library. This is a (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 8 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 // TODO(sigmund): this file should be removed when the dart code generation
6 // backend is deleted.
7
5 var isolate$current = null; 8 var isolate$current = null;
6 var isolate$rootIsolate = null; // Will only be set in the main worker. 9 var isolate$rootIsolate = null; // Will only be set in the main worker.
7 var isolate$inits = []; 10 var isolate$inits = [];
8 var isolate$globalThis = this; 11 var isolate$globalThis = this;
9 12
10 // These declarations are needed to avoid errors from the Closure Compiler 13 // These declarations are needed to avoid errors from the Closure Compiler
11 // optimizer. They are defined in client/dom/generated/dart_dom_wrapping.js. 14 // optimizer. They are defined in client/dom/generated/dart_dom_wrapping.js.
12 var __dom_wrap; 15 var __dom_wrap;
13 var __dom_unwrap; 16 var __dom_unwrap;
14 17
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 } 516 }
514 517
515 function isolate$deserializeMessage(message) { 518 function isolate$deserializeMessage(message) {
516 if (isolate$useWorkers || isolate$useWorkerSerializationProtocol) { 519 if (isolate$useWorkers || isolate$useWorkerSerializationProtocol) {
517 return native__IsolateJsUtil__deserializeMessage(message); 520 return native__IsolateJsUtil__deserializeMessage(message);
518 } else { 521 } else {
519 // Nothing more to do. 522 // Nothing more to do.
520 return message; 523 return message;
521 } 524 }
522 } 525 }
OLDNEW
« no previous file with comments | « compiler/lib/implementation/isolate.dart ('k') | compiler/lib/implementation/isolate_serialization.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698