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

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

Issue 16135004: Rename JS_CURRENT_ISOLATE to JS_CURRENT_ISOLATE_CONTEXT. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 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: dart/sdk/lib/_internal/compiler/implementation/compiler.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/compiler.dart b/dart/sdk/lib/_internal/compiler/implementation/compiler.dart
index f14543f3dcae2b23c108967dfbc57f81277b579e..d6aff59f2ec5fd15d3bd9f5d5e1bad046f02fae1 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -286,6 +286,12 @@ abstract class Compiler implements DiagnosticListener {
*/
final Uri sourceMapUri;
+ /**
+ * The name to use for the global JS object in JS output. Default
+ * value is "$".
+ */
+ final String globalJsName;
+
final api.CompilerOutputProvider outputProvider;
bool disableInlining = false;
@@ -460,6 +466,7 @@ abstract class Compiler implements DiagnosticListener {
this.verbose: false,
this.sourceMapUri: null,
this.buildId: "build number could not be determined",
+ this.globalJsName: r'$',
outputProvider,
List<String> strips: const []})
: this.analyzeOnly = analyzeOnly || analyzeSignaturesOnly,

Powered by Google App Engine
This is Rietveld 408576698