Fix another minor bug

llvm-svn: 7340
This commit is contained in:
Chris Lattner 2003-07-26 23:00:05 +00:00
parent 25dc00904c
commit 1cde34a7ff
1 changed files with 2 additions and 2 deletions

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;