Recover from partial top level variable

BUG=
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39317 260f80e4-7a28-3924-810f-c04153c831b5
Remove unused ISavePolicy, DartTypeCompletionProposal, ImportRewrite and related methods

BUG=
R=messick@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39318 260f80e4-7a28-3924-810f-c04153c831b5
Checks for shadowing in 'Rename Class Member' refactoring.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39319 260f80e4-7a28-3924-810f-c04153c831b5
Improve formatting of variable declarations/assignments.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39320 260f80e4-7a28-3924-810f-c04153c831b5
Add benchmark to 'path' package, of the most common methods.

BUG=
R=nweiz@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39321 260f80e4-7a28-3924-810f-c04153c831b5
Fix union of container and map type masks.

BUG=
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39322 260f80e4-7a28-3924-810f-c04153c831b5
Add debugging option in type inferrer to warn about anomalies.

BUG=
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39323 260f80e4-7a28-3924-810f-c04153c831b5
Update test status for polymer on Windows.

BUG=dartbug.com/19326
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39324 260f80e4-7a28-3924-810f-c04153c831b5
Fix narrowing for null checks in type graph inferrer.

BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39325 260f80e4-7a28-3924-810f-c04153c831b5
Refactor and simplify the dart2dart renamer and placeholder collector.

Also solves an issue where a local was renamed to dynamic.

BUG=19751, 13077, 12747, 12753
R=jgruber@google.com, johnniwinther@google.com

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

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

Switch to a fix-point based range analysis to improve its precision.

Dominator based algorithm was very imprecise for loop phis.

Use widening to ensure fast convergence and narrowing to improve precision.

Fixed compared to r39293:

Type propagation is more sophisticated now compared to the time
when range analysis was originally implemented and is able to derive Smi-ness
from more than just CheckSmi instruction (e.g. GuardFieldClass). This creates
situations when use's reaching type is Smi but definition itself is not a Smi
and thus will never have range assigned to it.

It is incorrect to treat ranges of such uses as unknown (_|_), because unknown
means "not yet computed". Instead we must use the widest possible approximation:
full smi range.

InferRange methods were rewritten to use a newly introduced GetRange helper
instead of accessing value()->definition()->range() directly.

As a side-effect we no longer need to insert artificial constraints after CheckSmi instructions.

R=fschneider@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39327 260f80e4-7a28-3924-810f-c04153c831b5
Remove nossl hack, as it isn't needed.

R=kasperl@google.com

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

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

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39329 260f80e4-7a28-3924-810f-c04153c831b5
Roll polymer to 0.3.5

The following files were not migrated, mostly tests that we don't have an equivalent for (that I could find):

declaration/properties.js
test/html/element-registration.html
test/html/bind-object-repeat.html
test/html/publish-attributes.html

Also, observe.js was not migrated since it no changes looked to be applicable to us, https://github.com/Polymer/observe-js/compare/0.3.4...0.3.5.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39330 260f80e4-7a28-3924-810f-c04153c831b5
Don't check for reaching type in the RangeAnalysis::GetRange.

Canonicalizer rewrites

v1 = _Int32Array._new(v0)
v2 = v1.length
use(v2)

as

v1 = _Int32Array._new(v0)
use(v0)

without changing reaching type of v0 to Smi at the use.

This means right now we can't expect that uses at Smi operations have propagated smi type.

BUG=
R=fschneider@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39331 260f80e4-7a28-3924-810f-c04153c831b5
Optional binary payloads in VM service events.

Allow an event to send a binary blob in addition to its JSON message.
For testing, add _Echo event type that is triggered by an _echo/event request.

R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39332 260f80e4-7a28-3924-810f-c04153c831b5
refactor and cleanup code completion
- combine all elements of request into request object
- pass request object through to all computers / visitors
- add override annotations on visitor subclasses
- rename completion_computer -> completion_manager
- move DartCompletionComputer into library with other related classes

BUG=
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39333 260f80e4-7a28-3924-810f-c04153c831b5
Issue 20550. Set parameters copy to a refactoring implementation instance before getSignature()

R=messick@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39334 260f80e4-7a28-3924-810f-c04153c831b5
Fix polymorphic inlining of non-native recognized methods.

R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@39335 260f80e4-7a28-3924-810f-c04153c831b5
Revert "Roll polymer to 0.3.5"

This reverts commit 9923eeb0a39a13926406896a78878237b32fa10e.

BUG=

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

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