diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-02 00:02:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-02 00:02:44 +0000 |
commit | 73d577c933ea9560c678ea9a9120f3e5d00aea58 (patch) | |
tree | 1763bdbffe58ff99f63f8c6d3e282e6adbc3ad53 /llvm/tools/llvm-mc/llvm-mc.cpp | |
parent | f8d9710b6f85e1058c7a24e9904f1e9e928022c7 (diff) | |
download | bcm5719-llvm-73d577c933ea9560c678ea9a9120f3e5d00aea58.tar.gz bcm5719-llvm-73d577c933ea9560c678ea9a9120f3e5d00aea58.zip |
Make SectionKind::get() private.
llvm-svn: 77835
Diffstat (limited to 'llvm/tools/llvm-mc/llvm-mc.cpp')
-rw-r--r-- | llvm/tools/llvm-mc/llvm-mc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-mc/llvm-mc.cpp b/llvm/tools/llvm-mc/llvm-mc.cpp index 1d797521965..c372547072c 100644 --- a/llvm/tools/llvm-mc/llvm-mc.cpp +++ b/llvm/tools/llvm-mc/llvm-mc.cpp @@ -193,7 +193,7 @@ static int AssembleInput(const char *ProgName) { Str.get()->SwitchSection(MCSection::Create("__TEXT,__text," "regular,pure_instructions", false, - SectionKind::get(SectionKind::Text), + SectionKind::getText(), Ctx)); AsmParser Parser(SrcMgr, Ctx, *Str.get()); |