Find a file
sra@google.com f1ab388015 Rewrite for-in loop on JavaScript indexable arrays as indexing loop
for (E variable in a) <body>

is generated as:

  _end = a.length;
  for (_i = 0; _i < a.length; a.length == _end || (0, H.throwConcurrentModificatiionError)(a), ++_i) {
    variable = a[_i];
    <body>;
  }

or, when the list is known to be fixed length:

  for (_i = 0; _i < a.length; ++_i) {
    variable = a[_i];
    <body>;
  }

R=floitsch@google.com

Committed: https://code.google.com/p/dart/source/detail?r=45270

Reverted: https://code.google.com/p/dart/source/detail?r=45271

Review URL: https://codereview.chromium.org//1087973002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45309 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-21 03:13:36 +00:00
client Add support for running comparison of dart2js and dart2js with --dump-info output to the bots. 2014-08-26 11:05:58 +00:00
docs/language Changes for TC52 3rd edition 2015-03-27 01:45:31 +00:00
pkg Rewrite for-in loop on JavaScript indexable arrays as indexing loop 2015-04-21 03:13:36 +00:00
runtime Reapply "Add tests for evalutating against activation records." 2015-04-21 01:13:59 +00:00
sdk Rewrite for-in loop on JavaScript indexable arrays as indexing loop 2015-04-21 03:13:36 +00:00
site/try Fix wrong path from revision 44041 and fix path in tools/addlatexhash.dart 2015-02-26 09:28:55 +00:00
tests Rewrite for-in loop on JavaScript indexable arrays as indexing loop 2015-04-21 03:13:36 +00:00
tools Enforce token syntax for CssClassSet arguments 2015-04-21 01:32:49 +00:00
utils Fix path to dart_style. 2015-02-27 23:26:24 +00:00
.gitignore Ignore .pydevproject files created in Eclipse. 2015-03-18 15:52:13 +00:00
AUTHORS Added 'Kenneth Endfinger' to AUTHORS file 2014-06-30 12:27:29 +00:00
CHANGELOG.md Revert "Change ListIterator to only check for concurrent modification at each iteration" 2015-04-16 18:53:39 +00:00
codereview.settings
create_sdk.gyp Revert "Revert "Use native async/await support in pub."" 2015-02-19 22:28:54 +00:00
dart.gyp Rename snapshot, other user-visible parts of docgen to dartdocgen. 2014-11-06 17:41:25 +00:00
LICENSE Add third_party NSS, SQLite, and zlib to Dart LICENSE file 2014-10-23 15:32:16 +00:00
PATENTS
PRESUBMIT.py
README Update Dartium android co19 status. 2014-08-27 08:52:38 +00:00
README.dart-sdk Remove lying line from sdk README 2014-10-15 11:04:00 +00:00
WATCHLISTS Build Observatory as part of runtime 2015-01-06 21:59:42 +00:00

This is the repository of the Dart programming language and its associated
tools, libraries, and samples.

For license information, please see LICENSE.

You can find more about Dart online at http://dartlang.org or
http://code.google.com/p/dart.

Here's a brief guide to what's in here:

editor/        Eclipse-based standalone Dart IDE.
lib/           Libraries that ship with the Dart runtime (core, html, etc.).
pkg/           Packages that are not shipped with the core runtime.
runtime/       Dart VM and code for running it as a standalone app.
samples/       Sample Dart programs.
tests/         Automated tests.
third_party/   External dependencies.
tools/         Build scripts, text editor support files, etc.
utils/         Utilities for Dart applications.