diff options
author | Akira Hatanaka <ahatanak@gmail.com> | 2011-04-15 21:51:11 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanak@gmail.com> | 2011-04-15 21:51:11 +0000 |
commit | 4552c9a3b34ad9b2085635266348d0d9b95514a6 (patch) | |
tree | d7e5b6178d0738dff93e314e346515728077158f /lib/Target/Mips/MipsTargetObjectFile.cpp | |
parent | 0cb11ac32fc09c5db42fb801db242ac9fb51f6b1 (diff) | |
download | llvm-4552c9a3b34ad9b2085635266348d0d9b95514a6.tar.gz llvm-4552c9a3b34ad9b2085635266348d0d9b95514a6.tar.bz2 llvm-4552c9a3b34ad9b2085635266348d0d9b95514a6.tar.xz |
Reverse unnecessary changes made in r129606 and r129608. There is no change in functionality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129612 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsTargetObjectFile.cpp')
-rw-r--r-- | lib/Target/Mips/MipsTargetObjectFile.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/Target/Mips/MipsTargetObjectFile.cpp b/lib/Target/Mips/MipsTargetObjectFile.cpp index de05fc400a..cf5d1b58ad 100644 --- a/lib/Target/Mips/MipsTargetObjectFile.cpp +++ b/lib/Target/Mips/MipsTargetObjectFile.cpp @@ -1,11 +1,11 @@ -//===-- MipsTargetObjectFile.cpp - Mips object files ---------------------===// +//===-- MipsTargetObjectFile.cpp - Mips object files ----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // -//===---------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// #include "MipsTargetObjectFile.h" #include "MipsSubtarget.h" @@ -47,8 +47,7 @@ static bool IsInSmallSection(uint64_t Size) { } bool MipsTargetObjectFile::IsGlobalInSmallSection(const GlobalValue *GV, - const TargetMachine &TM) - const { + const TargetMachine &TM) const { if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage()) return false; @@ -99,6 +98,5 @@ SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, return SmallDataSection; // Otherwise, we work the same as ELF. - return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang, - TM); + return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, Mang,TM); } |