Fix erroneous error and preserve async information in element model

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39432 260f80e4-7a28-3924-810f-c04153c831b5
Edits to protocol.md.

R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39433 260f80e4-7a28-3924-810f-c04153c831b5
Initial 'Extract Local' implementation.

Missing:

1. suggested names;
2. offsets and lengths of occurrences.
3. some clean ups.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39434 260f80e4-7a28-3924-810f-c04153c831b5
Implement more-specific-than (<<) for union types.

Simplify test code per brianwilkerson's suggestion.

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39435 260f80e4-7a28-3924-810f-c04153c831b5
Tweak CheckArrayBound location summary.

It does not make sense to permit memory location for the index at bounds check as it is likely to be used right after as register for actual indexed load. Instead allow length itself to be in the memory.

BUG=
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39436 260f80e4-7a28-3924-810f-c04153c831b5
Don't recompute the package graph unnecessarily in Entrypoint.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39437 260f80e4-7a28-3924-810f-c04153c831b5
Fix memory leak in unittest - the testCases variable doesn't release the
closure of each test after it runs.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39438 260f80e4-7a28-3924-810f-c04153c831b5
Implement [appendTo] and [getDisplayName] for union types.

I can't make sense of the difference between [appendTo] and
[getDisplayName]. Their implementations are almost the same
in existing types, so I've copied that pattern here without
really understanding what they're used for :P

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39439 260f80e4-7a28-3924-810f-c04153c831b5
Fix tests for pub global activate.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39440 260f80e4-7a28-3924-810f-c04153c831b5
Don't recompile dependency executables that haven't changed.

R=rnystrom@google.com
BUG=20482

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

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