Iterative graph traversal in FlowGraph::DiscoverBlocks()

The motivation behind this change is that very large functions could
cause stack overflows in the (previously recursive) DiscoverBlocks
function. This commit introduces replaces recursive traversal by
iterative algorithms. Postorder traversal had to be removed from
DiscoverBlocks and is now done in a separate pass.

BUG=21109
R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41016 260f80e4-7a28-3924-810f-c04153c831b5
Simplify VirtualMemory by removing unused ReserveAligned method.

Also add the ability to truncate without actually unmapping.
Note: We never create holes in the underlying reservation.

This CL is in preparation for using a thin wrapper around VirtualMemory to verify our upcoming concurrent write barrier.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41017 260f80e4-7a28-3924-810f-c04153c831b5
Fix return types on macos+android.

TBR=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41018 260f80e4-7a28-3924-810f-c04153c831b5
binary expression suggestion fix

BUG=
R=scheglov@google.com

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

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

TBR=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41020 260f80e4-7a28-3924-810f-c04153c831b5
Fix for renaming import without an import prefix.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41021 260f80e4-7a28-3924-810f-c04153c831b5
update template_binding constraint (missed this during the roll, discovered on bots)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41022 260f80e4-7a28-3924-810f-c04153c831b5
Resolving server application debug frames when using Analysis Server.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41023 260f80e4-7a28-3924-810f-c04153c831b5
Improve import prefix search results UI.

1. Bug fix for search on an import directive without a prefix.

2. Pretend that import prefixes are children on libraries' compilation units.

3. Icon for import prefix elements in Editor.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41024 260f80e4-7a28-3924-810f-c04153c831b5
- Use UnboxedInt32 and UnboxedUint32 representation for LoadIndexedInstr
- Avoid inserting an check class instruction for Uint32 and Int32 arrays on StoreIndexedInstr
- Implement Int32ToDouble on all architectures
- Add Int32 to double instruction to ARM64 and simulator.
- Add Int32 to double instruction to X64.

R=vegorov@google.com, zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41025 260f80e4-7a28-3924-810f-c04153c831b5
Issue 21281. Fix for 'too complex to open in the Dart editor' for an empty file.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41026 260f80e4-7a28-3924-810f-c04153c831b5
fix suggestions in class body and more common tests

BUG=
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41027 260f80e4-7a28-3924-810f-c04153c831b5
Fix for NPE when Quick Outline is not ready.

R=danrubel@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41028 260f80e4-7a28-3924-810f-c04153c831b5
Test that analysis server and analysis engine enums properly match.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41029 260f80e4-7a28-3924-810f-c04153c831b5
Make "error" the default severity for checked mode compile time errors.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41030 260f80e4-7a28-3924-810f-c04153c831b5
improve suggestions in for statement

BUG=
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41031 260f80e4-7a28-3924-810f-c04153c831b5
include imported elements in interpolation suggestions

BUG=
R=scheglov@google.com

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

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