forked from OSchip/llvm-project
fix this to work more determinstically, patch by Thomas Veith!
llvm-svn: 96661
This commit is contained in:
parent
2d3d903872
commit
23ac248faa
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue