aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-08 21:12:40 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-08 21:12:40 +0000
commitcbfecbe7d85ad69451c87d20f5e4a98c8cc1f255 (patch)
treeb65bb7aaa199fb900f27e00950af39612a9eccda /lib/Target/PIC16
parent1890ee3123a2523e6a19c48e6991cbf1e9aeae48 (diff)
downloadexternal_llvm-cbfecbe7d85ad69451c87d20f5e4a98c8cc1f255.zip
external_llvm-cbfecbe7d85ad69451c87d20f5e4a98c8cc1f255.tar.gz
external_llvm-cbfecbe7d85ad69451c87d20f5e4a98c8cc1f255.tar.bz2
Revert r78501, it doesn't build.
--- Reverse-merging r78501 into '.': U lib/Target/PIC16/PIC16TargetObjectFile.cpp D lib/Target/PIC16/PIC16Section.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78503 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16')
-rw-r--r--lib/Target/PIC16/PIC16Section.h35
-rw-r--r--lib/Target/PIC16/PIC16TargetObjectFile.cpp3
2 files changed, 1 insertions, 37 deletions
diff --git a/lib/Target/PIC16/PIC16Section.h b/lib/Target/PIC16/PIC16Section.h
deleted file mode 100644
index c7bc989..0000000
--- a/lib/Target/PIC16/PIC16Section.h
+++ /dev/null
@@ -1,35 +0,0 @@
-//===- PIC16Section.h - PIC16-specific section representation ---*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file declares the MCSection class.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_PIC16SECTION_H
-#define LLVM_PIC16SECTION_H
-
-#include "llvm/MC/MCSection.h"
-
-namespace llvm {
-
- class MCSectionPIC16 : public MCSection {
- MCSectionPIC16(const StringRef &Name, bool IsDirective, SectionKind K,
- MCContext &Ctx) : MCSection(Name, IsDirective, K, Ctx) {}
- public:
-
- static MCSectionPIC16 *Create(const StringRef &Name, bool IsDirective,
- SectionKind K, MCContext &Ctx);
-
- };
-
-
-
-} // end namespace llvm
-
-#endif
diff --git a/lib/Target/PIC16/PIC16TargetObjectFile.cpp b/lib/Target/PIC16/PIC16TargetObjectFile.cpp
index a9668f9..3900929 100644
--- a/lib/Target/PIC16/PIC16TargetObjectFile.cpp
+++ b/lib/Target/PIC16/PIC16TargetObjectFile.cpp
@@ -8,7 +8,6 @@
//===----------------------------------------------------------------------===//
#include "PIC16TargetObjectFile.h"
-#include "PIC16Section.h"
#include "PIC16ISelLowering.h"
#include "PIC16TargetMachine.h"
#include "llvm/DerivedTypes.h"
@@ -25,7 +24,7 @@ const MCSection *PIC16TargetObjectFile::
getPIC16Section(const char *Name, bool isDirective, SectionKind Kind) const {
if (MCSection *S = getContext().GetSection(Name))
return S;
- return MCSectionPIC16::Create(Name, isDirective, Kind, getContext());
+ return MCSection::Create(Name, isDirective, Kind, getContext());
}