commit | f9fa8c14c7ef87b4318d606bfc5132df7b77b17c | [log] [tgz] |
---|---|---|
author | Carl Shapiro <cshapiro@google.com> | Fri Apr 08 16:40:54 2011 -0700 |
committer | Carl Shapiro <cshapiro@google.com> | Fri Apr 08 16:40:54 2011 -0700 |
tree | c61fd2ae4c6523905f665932f6b0fe53b81ff5f7 | |
parent | 6540f02d5827fd3190d7603e93e7352729a8976d [diff] |
Fix for loops and eliminate some other undesirable idioms. Previously, we were using a non-standard C dialect which did not permit the nicer variable scoping in loops. Now that we are using C++ in the collector we can guarantee that feature is available. This change also rearranges some of the surrounding code to take advantage of the more flexible scoping rules. Change-Id: I9be35794cc12bcbc0d5299fe387d4bc406481075