diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-26 06:34:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-26 06:34:33 +0000 |
commit | 2c5815d09064dd3a03497583be3a4ec2c40853cc (patch) | |
tree | 629a85786b40d09df6eaccf3f98357904908b7c6 /include | |
parent | 5c2f789952ff315021afb10381f141f2ac3b1a6b (diff) | |
download | external_llvm-2c5815d09064dd3a03497583be3a4ec2c40853cc.zip external_llvm-2c5815d09064dd3a03497583be3a4ec2c40853cc.tar.gz external_llvm-2c5815d09064dd3a03497583be3a4ec2c40853cc.tar.bz2 |
remove a bunch of helper functions, just use SectionKind::get instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index 93f2a76..6345396 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -181,23 +181,6 @@ namespace llvm { SectionKind Res = { K }; return Res; } - static SectionKind getText() { return get(Text); } - static SectionKind getReadOnly() { return get(ReadOnly); } - static SectionKind getMergableCString() { return get(MergableCString); } - static SectionKind getMergableConst() { return get(MergableConst); } - static SectionKind getMergableConst4() { return get(MergableConst4); } - static SectionKind getMergableConst8() { return get(MergableConst8); } - static SectionKind getMergableConst16() { return get(MergableConst16); } - static SectionKind getThreadBSS() { return get(ThreadBSS); } - static SectionKind getThreadData() { return get(ThreadData); } - static SectionKind getBSS() { return get(BSS); } - static SectionKind getDataRel() { return get(DataRel); } - static SectionKind getDataRelLocal() { return get(DataRelLocal); } - static SectionKind getDataNoRel() { return get(DataNoRel); } - static SectionKind getReadOnlyWithRel() { return get(ReadOnlyWithRel); } - static SectionKind getReadOnlyWithRelLocal() { - return get(ReadOnlyWithRelLocal); - } }; namespace SectionFlags { |