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

Unified Diff: sdk/lib/_internal/js_runtime/lib/foreign_helper.dart

Issue 1232463007: dart2js: Rename "current isolate" to "static state (holder)". (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments. Created 5 years, 5 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
Index: sdk/lib/_internal/js_runtime/lib/foreign_helper.dart
diff --git a/sdk/lib/_internal/js_runtime/lib/foreign_helper.dart b/sdk/lib/_internal/js_runtime/lib/foreign_helper.dart
index 5ce8113dd6a75c8eb7e1bda95540880587b7e4fe..b298e0d174a00e00edf48705c90971f4d721b636 100644
--- a/sdk/lib/_internal/js_runtime/lib/foreign_helper.dart
+++ b/sdk/lib/_internal/js_runtime/lib/foreign_helper.dart
@@ -184,9 +184,9 @@ external DART_CLOSURE_TO_JS(Function function);
external RAW_DART_FUNCTION_REF(Function function);
/**
- * Sets the current isolate to [isolate].
+ * Sets the current static state to [staticState].
*/
-external void JS_SET_CURRENT_ISOLATE(isolate);
+external void JS_SET_STATIC_STATE(staticState);
/**
* Returns the interceptor for class [type]. The interceptor is the type's
@@ -197,9 +197,9 @@ external void JS_SET_CURRENT_ISOLATE(isolate);
external JS_INTERCEPTOR_CONSTANT(Type type);
/**
- * Returns the object corresponding to Namer.CURRENT_ISOLATE.
+ * Returns the object corresponding to Namer.staticStateHolder.
*/
-external JS_CURRENT_ISOLATE();
+external JS_GET_STATIC_STATE();
/// Returns the JS name for [name] from the Namer.
external String JS_GET_NAME(JsGetName name);
« no previous file with comments | « pkg/dart2js_incremental/lib/library_updater.dart ('k') | sdk/lib/_internal/js_runtime/lib/isolate_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698