00f20f3ffc
In unoptimized code, collect edge counts for all edges. Use the counts to reorder basic blocks in optimized code. Basic blocks are reordered by using Pettis and Hansen's "Profile Guided Code Positioning" bottom-up algorithm. R=fschneider@google.com, regis@google.com, srdjan@google.com Review URL: https://codereview.chromium.org//18111006 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26773 260f80e4-7a28-3924-810f-c04153c831b5