diff options
Diffstat (limited to 'llvm/lib/Target/Alpha')
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaTargetMachine.cpp | 6 | ||||
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaTargetMachine.h | 2 | 
2 files changed, 5 insertions, 3 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp index 8775bb7e8d4..9725b532748 100644 --- a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp +++ b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp @@ -63,8 +63,10 @@ unsigned AlphaTargetMachine::getJITMatchQuality() {  #endif  } -AlphaTargetMachine::AlphaTargetMachine(const Module &M, const std::string &FS) -  : DataLayout("e-f128:128:128"), +AlphaTargetMachine::AlphaTargetMachine(const Target &T, const Module &M,  +                                       const std::string &FS) +  : LLVMTargetMachine(T), +    DataLayout("e-f128:128:128"),      FrameInfo(TargetFrameInfo::StackGrowsDown, 16, 0),      JITInfo(*this),      Subtarget(M, FS), diff --git a/llvm/lib/Target/Alpha/AlphaTargetMachine.h b/llvm/lib/Target/Alpha/AlphaTargetMachine.h index 75468923d88..e5e69b29318 100644 --- a/llvm/lib/Target/Alpha/AlphaTargetMachine.h +++ b/llvm/lib/Target/Alpha/AlphaTargetMachine.h @@ -45,7 +45,7 @@ protected:    static AsmPrinterCtorFn AsmPrinterCtor;  public: -  AlphaTargetMachine(const Module &M, const std::string &FS); +  AlphaTargetMachine(const Target &T, const Module &M, const std::string &FS);    virtual const AlphaInstrInfo *getInstrInfo() const { return &InstrInfo; }    virtual const TargetFrameInfo  *getFrameInfo() const { return &FrameInfo; }  | 

