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

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/foreign_helper.dart

Issue 11553024: Support web workers in dart2js. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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
Index: sdk/lib/_internal/compiler/implementation/lib/foreign_helper.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/lib/foreign_helper.dart (revision 16024)
+++ sdk/lib/_internal/compiler/implementation/lib/foreign_helper.dart (working copy)
@@ -13,12 +13,12 @@
dynamic UNINTERCEPTED(var expression) {}
/**
- * Returns [:true:] if [object] has its own operator== definition.
+ * Return [:true:] if [object] has its own operator== definition.
*/
bool JS_HAS_EQUALS(var object) {}
/**
- * Returns the isolate in which this code is running.
+ * Return the isolate in which this code is running.
*/
dynamic JS_CURRENT_ISOLATE() {}
@@ -28,6 +28,16 @@
dynamic JS_CALL_IN_ISOLATE(var isolate, Function function) {}
/**
- * Convers the Dart closure [function] into a JavaScript closure.
+ * Convert the Dart closure [function] into a JavaScript closure.
*/
dynamic DART_CLOSURE_TO_JS(Function function) {}
+
+/**
+ * Set the current isolate to [isolate].
+ */
+void JS_SET_CURRENT_ISOLATE(var isolate) {}
+
+/**
+ * Create an isolate and return it.
+ */
+dynamic JS_CREATE_ISOLATE() {}

Powered by Google App Engine
This is Rietveld 408576698