mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Fix bug
llvm-svn: 4942
This commit is contained in:
parent
3e112b9973
commit
48b0c706a4
@ -92,8 +92,8 @@ static void setValue(const std::string &ValName,
|
||||
// Loop over bits, assigning values as appropriate...
|
||||
for (unsigned i = 0, e = BitList->size(); i != e; ++i) {
|
||||
unsigned Bit = (*BitList)[i];
|
||||
if (NewVal->getBit(i)) {
|
||||
err() << "Cannot set bit #" << i << " of value '" << ValName
|
||||
if (NewVal->getBit(Bit)) {
|
||||
err() << "Cannot set bit #" << Bit << " of value '" << ValName
|
||||
<< "' more than once!\n";
|
||||
abort();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user