make PIC16 unique its own sections instead of having mcontext do it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78871 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2009-08-13 00:26:52 +00:00
parent c9d31524ee
commit 873bc4ccfd
3 changed files with 14 additions and 10 deletions

View File

@@ -21,8 +21,10 @@ namespace llvm {
class MCSectionPIC16 : public MCSection {
std::string Name;
MCSectionPIC16(const StringRef &name, SectionKind K,
MCContext &Ctx);
MCSectionPIC16(const StringRef &name, SectionKind K)
: MCSection(K), Name(name) {
}
public:
const std::string &getName() const { return Name; }