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 2d3d903872
commit 23ac248faa
1 changed files with 1 additions and 1 deletions

View File

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