From: Daniel Sanders Date: Wed, 29 Apr 2015 09:58:25 +0000 (+0000) Subject: Fix ABI compatibility with 3.6.0 by moving new virtual function to end of class.... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=717982f8799803ada4f3a7bc474b88bed7b40d3f;p=llvm Fix ABI compatibility with 3.6.0 by moving new virtual function to end of class. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@236094 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 09957b485a5..25719505d2e 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -1060,11 +1060,6 @@ public: return false; } - /// Returns true if arguments should be sign-extended in lib calls. - virtual bool shouldSignExtendTypeInLibCall(EVT Type, bool IsSigned) const { - return IsSigned; - } - /// Returns true if the given (atomic) load should be expanded by the /// IR-level AtomicExpand pass into a load-linked instruction /// (through emitLoadLinked()). @@ -2016,6 +2011,12 @@ protected: /// Replace/modify any TargetFrameIndex operands with a targte-dependent /// sequence of memory operands that is recognized by PrologEpilogInserter. MachineBasicBlock *emitPatchPoint(MachineInstr *MI, MachineBasicBlock *MBB) const; + +public: + /// Returns true if arguments should be sign-extended in lib calls. + virtual bool shouldSignExtendTypeInLibCall(EVT Type, bool IsSigned) const { + return IsSigned; + } }; /// This class defines information used to lower LLVM code to legal SelectionDAG