mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-16 16:16:45 +00:00
Dont' try to parse the colon
llvm-svn: 7323
This commit is contained in:
parent
915b998b3f
commit
752a4ca4c4
@ -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