mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
More XCore TTI cleanup -- remove an unused private field flagged by
-Wunused-private-field with Clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190941 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
89ec610f76
commit
69f99bf3a3
@ -32,15 +32,13 @@ void initializeXCoreTTIPass(PassRegistry &);
|
||||
namespace {
|
||||
|
||||
class XCoreTTI : public ImmutablePass, public TargetTransformInfo {
|
||||
const XCoreTargetMachine *TM;
|
||||
|
||||
public:
|
||||
XCoreTTI() : ImmutablePass(ID), TM(0) {
|
||||
XCoreTTI() : ImmutablePass(ID) {
|
||||
llvm_unreachable("This pass cannot be directly constructed");
|
||||
}
|
||||
|
||||
XCoreTTI(const XCoreTargetMachine *TM)
|
||||
: ImmutablePass(ID), TM(TM) {
|
||||
: ImmutablePass(ID) {
|
||||
initializeXCoreTTIPass(*PassRegistry::getPassRegistry());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user