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

Unified Diff: lib/runtime/dart_runtime.js

Issue 1083763003: refactor emitMemberName to be used more consistently (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 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: lib/runtime/dart_runtime.js
diff --git a/lib/runtime/dart_runtime.js b/lib/runtime/dart_runtime.js
index 680c3b7402be2b7b55de599b0d380904604659b6..98ed2297dc9e57b76be1e86ed400da1b2a2ecf95 100644
--- a/lib/runtime/dart_runtime.js
+++ b/lib/runtime/dart_runtime.js
@@ -78,7 +78,7 @@ var dart, _js_helper;
let args = Array.prototype.slice.call(arguments, 2);
return checkAndCall(obj[method], obj, args, method);
}
- dart.dinvoke = dsend;
+ dart.dsend = dsend;
function dindex(obj, index) {
return checkAndCall(obj.get, obj, [index], '[]');
@@ -88,7 +88,7 @@ var dart, _js_helper;
function dsetindex(obj, index, value) {
return checkAndCall(obj.set, obj, [index, value], '[]=');
}
- dart.dsetindex = dindex;
+ dart.dsetindex = dsetindex;
function cast(obj, type) {
// TODO(vsm): handle non-nullable types

Powered by Google App Engine
This is Rietveld 408576698