diff options
author | Jyotsna Verma <jverma@codeaurora.org> | 2013-05-07 17:12:35 +0000 |
---|---|---|
committer | Jyotsna Verma <jverma@codeaurora.org> | 2013-05-07 17:12:35 +0000 |
commit | ddcf3ee768d41f16c6f10c38f7faee440d6b9f55 (patch) | |
tree | 51ea01965b235a5000ccc4b7ac2a8706723bf38e /lib/Target/Hexagon/HexagonTargetObjectFile.cpp | |
parent | 81fda3b4d55886ba40093e818125679bec126866 (diff) |
Reverting r181331.
Missing file, HexagonSplitConst32AndConst64.cpp, from lib/Target/Hexagon/CMakeLists.txt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181334 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Hexagon/HexagonTargetObjectFile.cpp')
-rw-r--r-- | lib/Target/Hexagon/HexagonTargetObjectFile.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/Target/Hexagon/HexagonTargetObjectFile.cpp b/lib/Target/Hexagon/HexagonTargetObjectFile.cpp index 7773cff2d2..993fcfaed4 100644 --- a/lib/Target/Hexagon/HexagonTargetObjectFile.cpp +++ b/lib/Target/Hexagon/HexagonTargetObjectFile.cpp @@ -25,8 +25,7 @@ using namespace llvm; static cl::opt<int> SmallDataThreshold("hexagon-small-data-threshold", - cl::init(8), cl::Hidden, - cl::desc("The maximum size of an object in the sdata section")); + cl::init(8), cl::Hidden); void HexagonTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM) { @@ -47,11 +46,6 @@ void HexagonTargetObjectFile::Initialize(MCContext &Ctx, static bool IsInSmallSection(uint64_t Size) { return Size > 0 && Size <= (uint64_t)SmallDataThreshold; } - -bool HexagonTargetObjectFile::IsSmallDataEnabled () const { - return SmallDataThreshold > 0; -} - /// IsGlobalInSmallSection - Return true if this global value should be /// placed into small data/bss section. bool HexagonTargetObjectFile::IsGlobalInSmallSection(const GlobalValue *GV, |