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

Side by Side Diff: test/codegen/expect/_isolate_helper/_isolate_helper.js

Issue 974703003: fix dummy setters -- grammar requires an identifier (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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/src/js/nodes.dart ('k') | test/codegen/expect/_native_typed_data/_native_typed_data.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 var _isolate_helper; 1 var _isolate_helper;
2 (function(exports) { 2 (function(exports) {
3 'use strict'; 3 'use strict';
4 // Function _callInIsolate: (_IsolateContext, Function) → dynamic 4 // Function _callInIsolate: (_IsolateContext, Function) → dynamic
5 function _callInIsolate(isolate, function) { 5 function _callInIsolate(isolate, function) {
6 let result = isolate.eval(function); 6 let result = isolate.eval(function);
7 exports._globalState.topEventLoop.run(); 7 exports._globalState.topEventLoop.run();
8 return result; 8 return result;
9 } 9 }
10 // Function enterJsAsync: () → dynamic 10 // Function enterJsAsync: () → dynamic
(...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 } 701 }
702 onError(message); 702 onError(message);
703 return true; 703 return true;
704 } 704 }
705 } 705 }
706 IsolateNatives.enableSpawnWorker = null; 706 IsolateNatives.enableSpawnWorker = null;
707 dart.defineLazyProperties(IsolateNatives, { 707 dart.defineLazyProperties(IsolateNatives, {
708 get thisScript() { 708 get thisScript() {
709 return computeThisScript(); 709 return computeThisScript();
710 }, 710 },
711 set thisScript() {}, 711 set thisScript(_) {},
712 get workerIds() { 712 get workerIds() {
713 return new core.Expando(); 713 return new core.Expando();
714 } 714 }
715 }); 715 });
716 class _BaseSendPort extends dart.Object { 716 class _BaseSendPort extends dart.Object {
717 _BaseSendPort(_isolateId) { 717 _BaseSendPort(_isolateId) {
718 this._isolateId = _isolateId; 718 this._isolateId = _isolateId;
719 } 719 }
720 _checkReplyTo(replyTo) { 720 _checkReplyTo(replyTo) {
721 if (dart.notNull(dart.notNull(replyTo !== null) && dart.notNull(!dart.is(r eplyTo, _NativeJsSendPort))) && dart.notNull(!dart.is(replyTo, _WorkerSendPort)) ) { 721 if (dart.notNull(dart.notNull(replyTo !== null) && dart.notNull(!dart.is(r eplyTo, _NativeJsSendPort))) && dart.notNull(!dart.is(replyTo, _WorkerSendPort)) ) {
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
1266 exports.globalWindow = globalWindow; 1266 exports.globalWindow = globalWindow;
1267 exports.globalWorker = globalWorker; 1267 exports.globalWorker = globalWorker;
1268 exports.globalPostMessageDefined = globalPostMessageDefined; 1268 exports.globalPostMessageDefined = globalPostMessageDefined;
1269 exports.IsolateNatives = IsolateNatives; 1269 exports.IsolateNatives = IsolateNatives;
1270 exports.RawReceivePortImpl = RawReceivePortImpl; 1270 exports.RawReceivePortImpl = RawReceivePortImpl;
1271 exports.ReceivePortImpl = ReceivePortImpl; 1271 exports.ReceivePortImpl = ReceivePortImpl;
1272 exports.TimerImpl = TimerImpl; 1272 exports.TimerImpl = TimerImpl;
1273 exports.hasTimer = hasTimer; 1273 exports.hasTimer = hasTimer;
1274 exports.CapabilityImpl = CapabilityImpl; 1274 exports.CapabilityImpl = CapabilityImpl;
1275 })(_isolate_helper || (_isolate_helper = {})); 1275 })(_isolate_helper || (_isolate_helper = {}));
OLDNEW
« no previous file with comments | « lib/src/js/nodes.dart ('k') | test/codegen/expect/_native_typed_data/_native_typed_data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698