aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-08 21:34:17 +0000
committerChris Lattner <sabre@nondot.org>2010-04-08 21:34:17 +0000
commit287df1bc0309962770b6c176f2d143795dd3cc2f (patch)
tree6dbc0eeb34446d96ae16a602e69fea256fc7d32d /include
parent74aae4726a66733c5872588287535a984f9a94c7 (diff)
delete a forwarding function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/TargetLoweringObjectFileImpl.h5
-rw-r--r--include/llvm/MC/MCContext.h2
2 files changed, 1 insertions, 6 deletions
diff --git a/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h b/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
index a9cbe3963c..90905f51e3 100644
--- a/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
+++ b/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
@@ -51,11 +51,6 @@ protected:
const MCSection *MergeableConst4Section;
const MCSection *MergeableConst8Section;
const MCSection *MergeableConst16Section;
-
-protected:
- const MCSection *getELFSection(StringRef Section, unsigned Type,
- unsigned Flags, SectionKind Kind,
- bool IsExplicit = false) const;
public:
TargetLoweringObjectFileELF() {}
~TargetLoweringObjectFileELF() {}
diff --git a/include/llvm/MC/MCContext.h b/include/llvm/MC/MCContext.h
index b6798ecff5..4434341f52 100644
--- a/include/llvm/MC/MCContext.h
+++ b/include/llvm/MC/MCContext.h
@@ -96,7 +96,7 @@ namespace llvm {
const MCSection *getELFSection(StringRef Section, unsigned Type,
unsigned Flags, SectionKind Kind,
- bool IsExplicit);
+ bool IsExplicit = false);
/// @}