Use the correct index variable. This is the meat of what was supposed to be in
authorNick Lewycky <nicholas@mxc.ca>
Sat, 9 Mar 2013 10:13:26 +0000 (10:13 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 9 Mar 2013 10:13:26 +0000 (10:13 +0000)
commit60d16a27da8607ae94b93a90e37bcd5f8290160d
tree6f3117e36702aec70dfc2658ebd4a7caf6eb0433
parent7394c5a37ce5c0fb153cfc8ec5f32822d5bf8668
Use the correct index variable. This is the meat of what was supposed to be in
r176751. Also, learn a lesson about applying patches by hand/eyeball.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176764 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/GCOVProfiling.cpp