mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Dont' try to parse the colon
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7323 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f2d0134118
commit
e7e221ad24
@ -133,7 +133,7 @@ void DSGC::verify(const DSGraph &G) {
|
||||
}
|
||||
|
||||
unsigned Flags = 0;
|
||||
for (; ColonPos != I->size(); ++ColonPos)
|
||||
for (++ColonPos; ColonPos != I->size(); ++ColonPos)
|
||||
switch ((*I)[ColonPos]) {
|
||||
case 'S': Flags |= DSNode::AllocaNode; break;
|
||||
case 'H': Flags |= DSNode::HeapNode; break;
|
||||
@ -143,7 +143,7 @@ void DSGC::verify(const DSGraph &G) {
|
||||
case 'M': Flags |= DSNode::Modified; break;
|
||||
case 'R': Flags |= DSNode::Read; break;
|
||||
case 'A': Flags |= DSNode::Array; break;
|
||||
default: std::cerr << "Invalid DSNode flag!\n"; break;
|
||||
default: std::cerr << "Invalid DSNode flag!\n"; abort();
|
||||
}
|
||||
CheckFlagsM[std::string(I->begin(), I->begin()+ColonPos)] = Flags;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user