Skip to content
Snippets Groups Projects
Commit 23ac248f authored by Chris Lattner's avatar Chris Lattner
Browse files

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

llvm-svn: 96661
parent 2d3d9038
No related merge requests found
...@@ -29,7 +29,7 @@ void InstrEnumEmitter::run(raw_ostream &OS) { ...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment