llvm.org GIT mirror llvm / a668c9e
fix a really bad bug that would cause nested cursors to break, used by the new bitcode reader. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134821 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 9 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
193193 CurAbbrevs[i]->addRef();
194194
195195 // Copy block scope and bump ref counts.
196 BlockScope = RHS.BlockScope;
196197 for (unsigned S = 0, e = static_cast(BlockScope.size());
197198 S != e; ++S) {
198199 std::vector &Abbrevs = BlockScope[S].PrevAbbrevs;