Optimize CfgBuilder.BuilderVisitor.addNode().

Instead of keeping one list with the current exits, this fix makes the
exits tabulated by their "reason." This saves us unnecessary work in
addNode() since we don't have to iterate through all the exits at every
calls anymore.

For large modules, this gives a significant speedup.

Review at http://gwt-code-reviews.appspot.com/597803

Review by: spoon@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@8257 8db76d5a-ed1c-0410-87a9-c151d255dfc7
1 file changed