mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
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:
parent
869ff9e7be
commit
1f2bbaa9cb
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user