mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 23:57:48 +00:00
Don't assign a value to NUM_TARGET_NAMED_SUBREGS.
It was wrong and completely unused. llvm-svn: 149433
This commit is contained in:
parent
6ce052d3b3
commit
22b91563a5
@ -441,8 +441,7 @@ RegisterInfoEmitter::runTargetHeader(raw_ostream &OS, CodeGenTarget &Target,
|
||||
OS << "enum {\n NoSubRegister,\n";
|
||||
for (unsigned i = 0, e = RegBank.getNumNamedIndices(); i != e; ++i)
|
||||
OS << " " << SubRegIndices[i]->getName() << ",\t// " << i+1 << "\n";
|
||||
OS << " NUM_TARGET_NAMED_SUBREGS = " << SubRegIndices.size()+1 << "\n";
|
||||
OS << "};\n";
|
||||
OS << " NUM_TARGET_NAMED_SUBREGS\n};\n";
|
||||
if (!Namespace.empty())
|
||||
OS << "}\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user