mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
fix a really bad bug that would cause nested cursors to break,
used by the new bitcode reader. llvm-svn: 134821
This commit is contained in:
parent
4ddffa2acc
commit
d1ab1fdd64
@ -194,6 +194,7 @@ public:
|
||||
CurAbbrevs[i]->addRef();
|
||||
|
||||
// Copy block scope and bump ref counts.
|
||||
BlockScope = RHS.BlockScope;
|
||||
for (unsigned S = 0, e = static_cast<unsigned>(BlockScope.size());
|
||||
S != e; ++S) {
|
||||
std::vector<BitCodeAbbrev*> &Abbrevs = BlockScope[S].PrevAbbrevs;
|
||||
|
Loading…
Reference in New Issue
Block a user