Make pub's binstubs resilient to changes in snapshot format.

This also makes "pub cache repair" repair activated packages, including updating
the binstub format.

R=rnystrom@google.com
BUG=21463

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42055 260f80e4-7a28-3924-810f-c04153c831b5
Extract DocumentationCommentToken with  field.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42056 260f80e4-7a28-3924-810f-c04153c831b5
Fix a couple bugs in r42055.

This works around https://github.com/dart-lang/async_await/issues/72,
fixes an incorrect variable name, and updates the async-compiled
output.

R=rnystrom@google.com
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42057 260f80e4-7a28-3924-810f-c04153c831b5
Fix for NPE in navigation after some incremental changes.

TBR

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42058 260f80e4-7a28-3924-810f-c04153c831b5
Add a test to test that substitutions are emitted for classes that are only used as type arguments.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42059 260f80e4-7a28-3924-810f-c04153c831b5
Remove js.ArrayElement.
Instead introduce js.ArrayHole to mark empty spots in Arrays.

BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42060 260f80e4-7a28-3924-810f-c04153c831b5
VM: Remove use of IterableMixinWorkaround from _List, _ImmutableList and _GrowableList.

_List, _ImmutableList and _GrowableList now extend ListBase which uses ListMixin.

Note that typed data lists are still using IterableMixinWorkaround for now.
They will be changed in a separate CL since it involves a few more changes
to the VM.

BUG=dartbug.com/13647
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42061 260f80e4-7a28-3924-810f-c04153c831b5
dart2js: Always generate functions for rti substitutions.

R=karlklose@google.com, zarah@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42062 260f80e4-7a28-3924-810f-c04153c831b5
Fix return type warning in pub source.

BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42063 260f80e4-7a28-3924-810f-c04153c831b5
- The body of a async function should be executed in a Future.mircotask.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42064 260f80e4-7a28-3924-810f-c04153c831b5
Support non-deoptimizing version of UnboxInt32 for integer definitions.

If range analysis infered that integer definition is within Int32 range then it is guaranteed to be either Smi or Mint.

BUG=http://dartbug.com/21763
R=fschneider@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42065 260f80e4-7a28-3924-810f-c04153c831b5
Fix implementation of the Iterable interface for typed data lists.

Return an Iterable with the correct type arguments (instead of <dynamic>)
when calling Iterable methods.

R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42066 260f80e4-7a28-3924-810f-c04153c831b5