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

Unified Diff: lib/runtime/dart/_isolate_helper.js

Issue 1043003002: keep mixin and interface implementation info at runtime (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/runtime/dart/_internal.js ('k') | lib/runtime/dart/_js_helper.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_isolate_helper.js
diff --git a/lib/runtime/dart/_isolate_helper.js b/lib/runtime/dart/_isolate_helper.js
index 303ea956b163f8f8c24a352a53c5bb0f3ea0197c..67143cb7824b9f5a4ba58566ab2b80b638be9a5c 100644
--- a/lib/runtime/dart/_isolate_helper.js
+++ b/lib/runtime/dart/_isolate_helper.js
@@ -729,6 +729,7 @@ var _isolate_helper;
this[_updateGlobalState]();
}
}
+ _IsolateContext[dart.implements] = [_foreign_helper.IsolateContext];
let _runHelper = Symbol('_runHelper');
class _EventLoop extends core.Object {
_EventLoop() {
@@ -1124,6 +1125,7 @@ var _isolate_helper;
}
}
}
+ _BaseSendPort[dart.implements] = [isolate.SendPort];
let _isClosed = Symbol('_isClosed');
class _NativeJsSendPort extends _BaseSendPort {
_NativeJsSendPort(receivePort$, isolateId) {
@@ -1154,6 +1156,7 @@ var _isolate_helper;
return this[_receivePort][_id];
}
}
+ _NativeJsSendPort[dart.implements] = [isolate.SendPort];
class _WorkerSendPort extends _BaseSendPort {
_WorkerSendPort(workerId$, isolateId, receivePortId$) {
this[_workerId] = workerId$;
@@ -1178,6 +1181,7 @@ var _isolate_helper;
return dart.notNull(this[_workerId]) << 16 ^ dart.notNull(this[_isolateId]) << 8 ^ dart.notNull(this[_receivePortId]);
}
}
+ _WorkerSendPort[dart.implements] = [isolate.SendPort];
let _handler = Symbol('_handler');
let _nextFreeId = Symbol('_nextFreeId');
let _close = Symbol('_close');
@@ -1223,6 +1227,7 @@ var _isolate_helper;
return new _NativeJsSendPort(this, exports._globalState.currentContext.id);
}
}
+ RawReceivePortImpl[dart.implements] = [isolate.RawReceivePort];
dart.defineNamedConstructor(RawReceivePortImpl, 'weak');
dart.defineNamedConstructor(RawReceivePortImpl, _controlPort);
RawReceivePortImpl._nextFreeId = 1;
@@ -1256,6 +1261,7 @@ var _isolate_helper;
return this[_rawPort].sendPort;
}
}
+ ReceivePortImpl[dart.implements] = [isolate.ReceivePort];
dart.defineNamedConstructor(ReceivePortImpl, 'weak');
dart.defineNamedConstructor(ReceivePortImpl, 'fromRawReceivePort');
let _once = Symbol('_once');
@@ -1324,6 +1330,7 @@ var _isolate_helper;
return this[_handle] !== null;
}
}
+ TimerImpl[dart.implements] = [async.Timer];
dart.defineNamedConstructor(TimerImpl, 'periodic');
// Function hasTimer: () → bool
function hasTimer() {
@@ -1358,6 +1365,7 @@ var _isolate_helper;
return false;
}
}
+ CapabilityImpl[dart.implements] = [isolate.Capability];
dart.defineNamedConstructor(CapabilityImpl, _internal);
// Exports:
exports.enterJsAsync = enterJsAsync;
« no previous file with comments | « lib/runtime/dart/_internal.js ('k') | lib/runtime/dart/_js_helper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698