Fix type in generic type of parameters to SplayTreeMap.fromIterable.

Add tests.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41624 260f80e4-7a28-3924-810f-c04153c831b5
Include reasons for failing in StateError.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41625 260f80e4-7a28-3924-810f-c04153c831b5
Update darttags to package:compiler.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41626 260f80e4-7a28-3924-810f-c04153c831b5
Change SplayTreeMap test to not cause static type warnings, only runtime errors.

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41627 260f80e4-7a28-3924-810f-c04153c831b5
Support for the ALPN extension of the TLS protocol for Client and Server

This CL uses the NSS support for the ALPN extension of the TLS protocol
(see RFC 7301).

R=sgjesse@google.com

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

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

BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41629 260f80e4-7a28-3924-810f-c04153c831b5
Add selectedProtocol() to abstract _SecureFilter class

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41630 260f80e4-7a28-3924-810f-c04153c831b5
Support for labels in non-loop code in new dart backend

Still no support for `switch`

R=kmillikin@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41631 260f80e4-7a28-3924-810f-c04153c831b5
Don't delete old version before new version is downloaded.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41632 260f80e4-7a28-3924-810f-c04153c831b5
Refactor browser test enqueuing in test scripts.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41633 260f80e4-7a28-3924-810f-c04153c831b5
Deferred hunks had a `.` too much in their file names.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41634 260f80e4-7a28-3924-810f-c04153c831b5
Refactor test scripts browser multitest loop.

BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41635 260f80e4-7a28-3924-810f-c04153c831b5
dart2js: Trust type annotations more often with --trust-type-annotation.

R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41636 260f80e4-7a28-3924-810f-c04153c831b5
Revert "dart2js: Trust type annotations more often with --trust-type-annotation."

This reverts commit r41636.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41637 260f80e4-7a28-3924-810f-c04153c831b5
Improve type propagation for AssertAssignable.

Updating the type of the incoming definition during
type propagation like we do for CheckClass, CheckSmi, etc.

This helps if the original definition is used instead of the
redefined value.

We also can get rid of storing back every local variable
at function start in unoptimized code in checked mode.

R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41638 260f80e4-7a28-3924-810f-c04153c831b5
dart2js: Trust type annotations more often with --trust-type-annotation.

R=sra@google.com

Committed: https://code.google.com/p/dart/source/detail?r=41636
Reverted: https://code.google.com/p/dart/source/detail?r=41637

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41639 260f80e4-7a28-3924-810f-c04153c831b5
Improve precision of range analysis by allowing it to track ranges across all int typed phis.

Even when range of the integer definition is unknown we can optimistically assign full int64-range to it even though tagged integer definition can contain instance of the Bigint. This is based on the following observation: we only use ranges when working with unboxed arithmetic in the optimized code, but the widest possible unboxed arithmetic is 64-bit (mint) one and corresponding unboxing operations will deoptimize if they get Bigint as an input. This makes it safe to assume that any integer definition fits into 64-bit range *once unboxed*.

Additional small fixes:

- Fix ranges assigned to loads from Int32/Uint32 arrays on 64-bit platform - it was overly conservative;

- Add UnboxUint32 range inference to ensure that range is not lost when it passes through box-unbox pair;

- When canonicalizing Binary/Unary Integer operations ensure that we unwrap UnboxUint32(Constant(C)) -> C.

BUG=
R=fschneider@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41640 260f80e4-7a28-3924-810f-c04153c831b5
Create fewer unnecessary lists

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41641 260f80e4-7a28-3924-810f-c04153c831b5
Generate docgen file names with hyphens in their names instead of colons

BUG=
R=kevmoo@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41642 260f80e4-7a28-3924-810f-c04153c831b5
Add support for type references to AccessSemantics.

We now handle references to toplevel classes, e.g.:

  class C {}
  Type t = C;

And references to type parameters, e.g.:

  class C<T> {
    f() {
      Type t = T;
    }
  }

R=scheglov@google.com

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

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