X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FSparc%2FSparcTargetMachine.h;h=142929ca60eb3c5218cc52dad86bed85950b482c;hb=211ed6d0017280fe27176338e88a9fee998dc909;hp=62f088b148124a310f0ac347b33df41a28c0d1a6;hpb=9920f561c35cfb0d725066e04c4bf1e2f9d18e8a;p=oota-llvm.git diff --git a/lib/Target/Sparc/SparcTargetMachine.h b/lib/Target/Sparc/SparcTargetMachine.h index 62f088b1481..142929ca60e 100644 --- a/lib/Target/Sparc/SparcTargetMachine.h +++ b/lib/Target/Sparc/SparcTargetMachine.h @@ -11,8 +11,8 @@ // //===----------------------------------------------------------------------===// -#ifndef SPARCTARGETMACHINE_H -#define SPARCTARGETMACHINE_H +#ifndef LLVM_LIB_TARGET_SPARC_SPARCTARGETMACHINE_H +#define LLVM_LIB_TARGET_SPARC_SPARCTARGETMACHINE_H #include "SparcInstrInfo.h" #include "SparcSubtarget.h" @@ -30,13 +30,8 @@ public: const SparcSubtarget *getSubtargetImpl() const override { return &Subtarget; } - SparcSubtarget *getSubtargetImpl() { - return static_cast(TargetMachine::getSubtargetImpl()); - } - // Pass Pipeline Configuration TargetPassConfig *createPassConfig(PassManagerBase &PM) override; - bool addCodeEmitter(PassManagerBase &PM, JITCodeEmitter &JCE) override; }; /// SparcV8TargetMachine - Sparc 32-bit target machine