1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Fix another minor bug

llvm-svn: 7340
This commit is contained in:
Chris Lattner 2003-07-26 23:00:05 +00:00
parent 2bf24be50e
commit 36a7bf78fa

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;