Revert "try again to not auto start editor port"

This reverts commit 043c5de2d213a3f3dd9c9b023eb42e1badefb8f0.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40301 260f80e4-7a28-3924-810f-c04153c831b5
Count children of throw statements for inlining decisions.

BUG=
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40303 260f80e4-7a28-3924-810f-c04153c831b5
Replace unneeded giveup with assert in cps_ir_builder.

R=kmillikin@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40304 260f80e4-7a28-3924-810f-c04153c831b5
Avoid copy-propagating function declarations in the new dart backend.

R=kmillikin@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40305 260f80e4-7a28-3924-810f-c04153c831b5
Refactor generating lazy deoptimization descriptors.

Instead of having special handling for closure calls, pass
the number of input operands down so that the correct lazy
deoptimization environment is generated at calls.

There is no functional change here - this is to simplify
having calls with pushed arguments and input operands
(like closure calls).

Runtime calls still do not have a correct lazy deoptimization environment
the environment should only be used for creating stack traces
from optimized code.

Fix a bug with --trace-deoptimization-verbose printing: We
cannot call ToCString on objects when the slots have not
been filled in yet. (e.g. Closures)

R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40306 260f80e4-7a28-3924-810f-c04153c831b5
Implements for-in in the CPS-ir builder.

Most of the code for while is duplicated - and very similar to regular
for-loops. We might be able to extract the common parts.
That is left for later.

R=kmillikin@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40307 260f80e4-7a28-3924-810f-c04153c831b5
Add error-intercept for Completer.completeError and StreamController.addError.

BUG= http://dartbug.com/15105
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40308 260f80e4-7a28-3924-810f-c04153c831b5
Update co19 webgl test status on Android content-shell.

BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40309 260f80e4-7a28-3924-810f-c04153c831b5
Handle implicitly hidden exports.

BUG=http://dartbug.com/20935
R=karlklose@google.com

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

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

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40311 260f80e4-7a28-3924-810f-c04153c831b5
Revert r40306 because of crash.

TBR=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40312 260f80e4-7a28-3924-810f-c04153c831b5
Revert "Handle implicitly hidden exports."

This reverts commit r40310.

BUG=

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

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

BUG=
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40314 260f80e4-7a28-3924-810f-c04153c831b5
Update assertion to incremental compilation.

BUG=
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40315 260f80e4-7a28-3924-810f-c04153c831b5
Add makefile to run analyzer.

R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40316 260f80e4-7a28-3924-810f-c04153c831b5
Move diff.dart to dart2js_incremental.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40317 260f80e4-7a28-3924-810f-c04153c831b5
Split refactoring problems into init, options and final.

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

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

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

make everything get inlined inside a hidden div to prevent FOUC

only check for FOUC in entry point

BUG= http://dartbug.com/20943
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40320 260f80e4-7a28-3924-810f-c04153c831b5
Eliminate 99% of allocated ExceptionHandler objects

The vast majority of functions have no exception handlers, thus they can all
share a single ExceptionHandler descriptor.

This CL reduces the number of ExceptionHandler objects on the heap from
about 8400 to 16, from 132KB to less than 1KB, when running dart2js.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40323 260f80e4-7a28-3924-810f-c04153c831b5
Rollback https://codereview.chromium.org/575613002

I'm sorry, but I'm going to rollback this change.
We discussed this offline with Brian and decided that while it looks
technically correct, it does not work well for our use cases, as well as
probably for our users.

R=paulberry@google.com, brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=19697

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

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