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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96661 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2010-02-19 07:02:20 +00:00
parent 7b9d6d2e55
commit 01a5bee716

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;
}