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

Unified Diff: lib/runtime/dart/_isolate_helper.js

Issue 1055923002: Don't call dinvoke on Object methods (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: modify test Created 5 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
« no previous file with comments | « no previous file | lib/runtime/dart/_js_helper.js » ('j') | lib/src/checker/rules.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_isolate_helper.js
diff --git a/lib/runtime/dart/_isolate_helper.js b/lib/runtime/dart/_isolate_helper.js
index 9f50c3de765706e87b3eb43a047dff49c5d4b712..93e5629664ed40366e364ddb6f45ba99aff723f7 100644
--- a/lib/runtime/dart/_isolate_helper.js
+++ b/lib/runtime/dart/_isolate_helper.js
@@ -592,7 +592,7 @@ var _isolate_helper;
return;
}
let message = new core.List(2);
- message.set(0, dart.dinvoke(error, 'toString'));
+ message.set(0, error.toString());
message.set(1, stackTrace == null ? null : stackTrace.toString());
for (let port of this.errorPorts)
port.send(message);
« no previous file with comments | « no previous file | lib/runtime/dart/_js_helper.js » ('j') | lib/src/checker/rules.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698