diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-26 06:48:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-26 06:48:26 +0000 |
commit | 29151b0218494750c72b48b9cfdd02e678db3cd6 (patch) | |
tree | 39c26c50ce150677da3d50a88b1c43fb48474450 /llvm/lib/Target/DarwinTargetAsmInfo.cpp | |
parent | abd47512f736c08981d8bfcf24e6c01984dc4bba (diff) | |
download | bcm5719-llvm-29151b0218494750c72b48b9cfdd02e678db3cd6.tar.gz bcm5719-llvm-29151b0218494750c72b48b9cfdd02e678db3cd6.zip |
rename Mergable -> Mergeable and Writable -> Writeable
llvm-svn: 77138
Diffstat (limited to 'llvm/lib/Target/DarwinTargetAsmInfo.cpp')
-rw-r--r-- | llvm/lib/Target/DarwinTargetAsmInfo.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/llvm/lib/Target/DarwinTargetAsmInfo.cpp b/llvm/lib/Target/DarwinTargetAsmInfo.cpp index 778aa22e885..503df19a3ff 100644 --- a/llvm/lib/Target/DarwinTargetAsmInfo.cpp +++ b/llvm/lib/Target/DarwinTargetAsmInfo.cpp @@ -144,21 +144,21 @@ DarwinTargetAsmInfo::SelectSectionForGlobal(const GlobalValue *GV, } // FIXME: Alignment check should be handled by section classifier. - if (Kind.isMergableCString()) + if (Kind.isMergeableCString()) return MergeableStringSection(cast<GlobalVariable>(GV)); - if (Kind.isMergableConst()) { - if (Kind.isMergableConst4()) + if (Kind.isMergeableConst()) { + if (Kind.isMergeableConst4()) return FourByteConstantSection; - if (Kind.isMergableConst8()) + if (Kind.isMergeableConst8()) return EightByteConstantSection; - if (Kind.isMergableConst16() && SixteenByteConstantSection) + if (Kind.isMergeableConst16() && SixteenByteConstantSection) return SixteenByteConstantSection; return ReadOnlySection; // .const } // FIXME: ROData -> const in -static mode that is relocatable but they happen - // by the static linker. Why not mergable? + // by the static linker. Why not mergeable? if (Kind.isReadOnly()) return getReadOnlySection(); @@ -188,17 +188,17 @@ DarwinTargetAsmInfo::MergeableStringSection(const GlobalVariable *GV) const { } const Section * -DarwinTargetAsmInfo::getSectionForMergableConstant(SectionKind Kind) const { +DarwinTargetAsmInfo::getSectionForMergeableConstant(SectionKind Kind) const { // If this constant requires a relocation, we have to put it in the data // segment, not in the text segment. if (Kind.isDataRel()) return ConstDataSection; - if (Kind.isMergableConst4()) + if (Kind.isMergeableConst4()) return FourByteConstantSection; - if (Kind.isMergableConst8()) + if (Kind.isMergeableConst8()) return EightByteConstantSection; - if (Kind.isMergableConst16() && SixteenByteConstantSection) + if (Kind.isMergeableConst16() && SixteenByteConstantSection) return SixteenByteConstantSection; return ReadOnlySection; // .const } |