1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

fix this to work more determinstically, patch by Thomas Veith!

llvm-svn: 96661
This commit is contained in:
Chris Lattner 2010-02-19 07:02:20 +00:00
parent 1ea0277ca2
commit 80491f4c52

View File

@ -29,7 +29,7 @@ void InstrEnumEmitter::run(raw_ostream &OS) {
std::string Namespace;
for (CodeGenTarget::inst_iterator II = Target.inst_begin(),
E = Target.inst_end(); II != E; ++II) {
if (II->second.Namespace != "TargetInstrInfo") {
if (II->second.Namespace != "TargetOpcode") {
Namespace = II->second.Namespace;
break;
}