a347dd7f82
This CL simplifies the code generation for branches: Each BranchInstr wraps a comparison computation and we can reuse the code between the two in many cases. Similar to BindInstr, most accessors forward to the wrapped computation. One exception is the location summary, which is modified for branches: The result location is removed since branches don't produce a result. This way, it is easier to replace a comparison branch with a specialized version and eliminate redundante checks before branches. Review URL: https://chromiumcodereview.appspot.com//10887009 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11500 260f80e4-7a28-3924-810f-c04153c831b5