mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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:
parent
7b9d6d2e55
commit
01a5bee716
@ -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
Block a user