commit | 9d5fd9d5bd9dea0098a8f49a87300ab578eb765c | [log] [tgz] |
---|---|---|
author | Stephen Adams <sra@google.com> | Tue Jul 26 18:02:05 2016 -0700 |
committer | Stephen Adams <sra@google.com> | Tue Jul 26 18:02:05 2016 -0700 |
tree | 5f64e17754336b567dfd608d658394f4d5d38a6e | |
parent | d4e1f1364424367346d2dbf1f4bb51966cb6e674 [diff] |
Avoid using call-through stub on calls to fields. This usually removes the demand for the call-through stub and sometimes enables optimizations on the field load, e.g.: WhereIterator: { "^": "Iterator;_iterator,_f", moveNext$0: function() { for (var t1 = this._iterator; t1.moveNext$0();) if (this._f$1(t1.get$current()) === true) return true; return false; }, _f$1: function(arg0) { return this._f.call$1(arg0); } ... --> WhereIterator: { "^": "Iterator;_iterator,_f", moveNext$0: function() { var t1, t2; for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();) if (t2.call$1(t1.get$current()) === true) return true; return false; }, ... BUG= https://github.com/dart-lang/sdk/issues/22197 R=sigmund@google.com Review URL: https://codereview.chromium.org/2180363002 .
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Visit the dartlang.org to learn more about the language, tools, getting started, and more.
Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.
Learn how to get the source and prepare your machine to build the SDK.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.
See LICENSE.