Fix bug with CHA dependencies by recording a set of classes for registering code.

CHA is not only used with the receiver class, but also with other classes
when doing type propagation. The optimized code has to be registered with
all classes that are affected by CHA so that deoptimization occurs whenever
the set of subclasses changes for these classes.

R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39194 260f80e4-7a28-3924-810f-c04153c831b5
do not suggest types when editing a name in a variable declaration

BUG=
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39195 260f80e4-7a28-3924-810f-c04153c831b5
Test scripts: correctly copy packages directory in Android testing.

BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39196 260f80e4-7a28-3924-810f-c04153c831b5
Fix type propagation for signature classes.

After I enabled nullability tracking for checked mode type assertions,
we need to fix type propagation for signature classes: We can't use
the asserted type to infer a cid for those since it may cause unnecessary
deoptimizations.

R=vegorov@google.com

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

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

R=danrubel@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39198 260f80e4-7a28-3924-810f-c04153c831b5
Improve spec style and minor changes

R=paulberry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39199 260f80e4-7a28-3924-810f-c04153c831b5
Fix dart2dart status after adding tests that use deferred loading.

TBR=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39200 260f80e4-7a28-3924-810f-c04153c831b5
Add a test to verify that analysis server code generation is up to date.

This test will run on the Windows, Linux, and MacOS buildbots, so it
should help ensure that code generation works properly on all of those
platforms.

R=jwren@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39201 260f80e4-7a28-3924-810f-c04153c831b5
VM: Optimized context allocation on all platforms.

This change generate inline code for context allocation and makes
the stores to initialize the parent pointer and the context variables
explicit in the optimized flow graph. This allows dead store elimination
to eliminate those stores.

Before, we only had inlined context allocation for ia32.

Furthermore:
* Added an assertion that the exit label of slow-path code
is bound when emitting deferred code. This used to cause random crashes
if forgotten.

* Fixed a bug in allocation stats on ARM.

BUG=dartbug.com/17238
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39202 260f80e4-7a28-3924-810f-c04153c831b5
Skip pkg/analysis_server/tool/spec/check_all_test on browsers.

TBR=jwren@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39203 260f80e4-7a28-3924-810f-c04153c831b5
Change how we check for user agent, in preparation for breaking change in Dartium.

R=jakemac@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39204 260f80e4-7a28-3924-810f-c04153c831b5
Skip Observatory tests on dart2dart.

BUG=dart:20487
R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39205 260f80e4-7a28-3924-810f-c04153c831b5
Fix issue 20476: creating multiple LocalVariables with same name (finally_ret_val35), confuses the compiler. token_pos is not enough to guarantee unique name for inlined finally-s. Instead of uniques names per inlined return node, use one function level local.

R=fschneider@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39206 260f80e4-7a28-3924-810f-c04153c831b5
Fix call to completer for async closures.

Addressing comments from https://codereview.chromium.org/460763002/

BUG=
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39207 260f80e4-7a28-3924-810f-c04153c831b5
Add union types to the analysis server API spec.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39208 260f80e4-7a28-3924-810f-c04153c831b5
Remove unintentionally added symlink.

BUG=dart:20489

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39209 260f80e4-7a28-3924-810f-c04153c831b5
Fix an issue locating source in the debugger when stopping at an exception in a Dart code
fragment inside of an html file. Fixes dartbug.com/20149.

R=keertip@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39210 260f80e4-7a28-3924-810f-c04153c831b5
Don't expect update_content_test to fail for analyzer.

This is a runtime failure only; analysis of the test should still
succeed.

TBR=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39211 260f80e4-7a28-3924-810f-c04153c831b5
Adds pthread.h include to fix Android build.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39212 260f80e4-7a28-3924-810f-c04153c831b5
Skip analysis server integration tests with dart2js

TBR=jwren@google.com

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

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