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

Unified Diff: sdk/lib/_internal/lib/js_helper.dart

Issue 208043003: Rename [call$...] properties to [$...] in compiled code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: found another use of call Created 6 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
Index: sdk/lib/_internal/lib/js_helper.dart
diff --git a/sdk/lib/_internal/lib/js_helper.dart b/sdk/lib/_internal/lib/js_helper.dart
index 88ea87c8f18073101702b752f49590bd9558631f..4b434e6e18af97f6e3d9bc7077bc5b95f73cc0b8 100644
--- a/sdk/lib/_internal/lib/js_helper.dart
+++ b/sdk/lib/_internal/lib/js_helper.dart
@@ -937,7 +937,8 @@ class Primitives {
});
}
- String selectorName = 'call\$$argumentCount$names';
+ String selectorName =
+ '${JS_GET_NAME("CALL_PREFIX")}\$$argumentCount$names';
return function.noSuchMethod(
createUnmangledInvocationMirror(
@@ -1010,7 +1011,7 @@ class Primitives {
arguments.addAll(positionalArguments);
}
- String selectorName = 'call\$$argumentCount';
+ String selectorName = '${JS_GET_NAME("CALL_PREFIX")}\$$argumentCount';
var jsFunction = JS('var', '#[#]', function, selectorName);
if (jsFunction == null) {
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/js_backend/namer.dart ('k') | sdk/lib/_internal/lib/js_mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698