mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-17 03:26:03 +00:00
Remove 'XXXRegisterClass' from tablegen output. Targets should use '&XXXRegClass' instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155270 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8e3c17aabf
commit
f0ae38ef2e
@ -700,9 +700,6 @@ RegisterInfoEmitter::runTargetHeader(raw_ostream &OS, CodeGenTarget &Target,
|
|||||||
|
|
||||||
// Output the extern for the instance.
|
// Output the extern for the instance.
|
||||||
OS << " extern const TargetRegisterClass " << Name << "RegClass;\n";
|
OS << " extern const TargetRegisterClass " << Name << "RegClass;\n";
|
||||||
// Output the extern for the pointer to the instance (should remove).
|
|
||||||
OS << " static const TargetRegisterClass * const " << Name
|
|
||||||
<< "RegisterClass = &" << Name << "RegClass;\n";
|
|
||||||
}
|
}
|
||||||
OS << "} // end of namespace " << TargetName << "\n\n";
|
OS << "} // end of namespace " << TargetName << "\n\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user