Fix another minor bug

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7340 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-07-26 23:00:05 +00:00
parent 869ff9e7be
commit 1f2bbaa9cb

View File

@ -133,8 +133,8 @@ void DSGC::verify(const DSGraph &G) {
}
unsigned Flags = 0;
for (++ColonPos; ColonPos != I->size(); ++ColonPos)
switch ((*I)[ColonPos]) {
for (unsigned C = ColonPos+1; C != I->size(); ++C)
switch ((*I)[C]) {
case 'S': Flags |= DSNode::AllocaNode; break;
case 'H': Flags |= DSNode::HeapNode; break;
case 'G': Flags |= DSNode::GlobalNode; break;