Actually override the right method. :)

Bug identified by coverity.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28259 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-05-12 18:19:25 +00:00
parent dd28ba2284
commit 666b042658

View File

@ -34,7 +34,7 @@ public:
virtual const IA64InstrInfo *getInstrInfo() const { return &InstrInfo; }
virtual const TargetFrameInfo *getFrameInfo() const { return &FrameInfo; }
virtual IA64TargetLowering *getTargetLowering() { return &TLInfo; }
virtual IA64TargetLowering *getTargetLowering() const { return &TLInfo; }
virtual const MRegisterInfo *getRegisterInfo() const {
return &InstrInfo.getRegisterInfo();
}