include local functions in completion suggestions

BUG=
R=paulberry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42363 260f80e4-7a28-3924-810f-c04153c831b5
fix invocation completion test

BUG=
R=paulberry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42364 260f80e4-7a28-3924-810f-c04153c831b5
fix named constructor completion

BUG=dartbug.com/21799
R=paulberry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42365 260f80e4-7a28-3924-810f-c04153c831b5
refine when suggestions are limited to types

BUG=dartbug.com/18860
R=paulberry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42366 260f80e4-7a28-3924-810f-c04153c831b5
Handle 'edit.sortMembers' errors.

R=danrubel@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42367 260f80e4-7a28-3924-810f-c04153c831b5
Fix debugging of async code

Make sure the debugger finds the closure function containing the body
of async functions, but not the synthetic function that generates the
future.

Change the way the debugger sets one-time breakpoints. Instead of
compiling the function and instrumenting all safe-points, set a
breakpoint marked as “one-shot” at the beginning of the function
and wait until the function is compiled. Then, once it fires, it
gets automatically deleted.

Finally, be smarter how we resolve breakpoints in compiled code.
The compiler rearranges code in await expressions, which tripped
up the debugger. This change makes sure we select the lowest compiled
code address only within the line containing the requested breakpoint
position.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42368 260f80e4-7a28-3924-810f-c04153c831b5
Fix for displaying initialy analysis progress.

There was a race condition between notifying 'statusLock' and the moment
when statusJob starts executing, so set statusJob to null.

R=danrubel@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42369 260f80e4-7a28-3924-810f-c04153c831b5
Range feedback for arithmetic operations.

In addition to tracking input and output ranges in the IC-stubs with a Smi fastpath (SmiAdd and SmiSub, currently) this CL also introduces two IC stubs that have no fast-path by still track ranges and update the range feedback.

We are able to distinguish between the following ranges (encoding of the lattice is shown in the parens):

- u-smi  (0000)
- smi    (0001)
- uint31 (0010)
- int32  (0011)
- uint32 (0100)
- int64  (1xxx) and (x1x1)

BUG=
R=fschneider@google.com, srdjan@google.com, zra@google.com

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

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