[llvm-commits] [llvm] r78503 - in /llvm/trunk/lib/Target/PIC16: PIC16Section.h PIC16TargetObjectFile.cpp

Daniel Dunbar daniel at zuster.org
Sat Aug 8 14:12:40 PDT 2009


Author: ddunbar
Date: Sat Aug  8 16:12:40 2009
New Revision: 78503

URL: http://llvm.org/viewvc/llvm-project?rev=78503&view=rev
Log:
Revert r78501, it doesn't build.

 --- Reverse-merging r78501 into '.':
U    lib/Target/PIC16/PIC16TargetObjectFile.cpp
D    lib/Target/PIC16/PIC16Section.h

Removed:
    llvm/trunk/lib/Target/PIC16/PIC16Section.h
Modified:
    llvm/trunk/lib/Target/PIC16/PIC16TargetObjectFile.cpp

Removed: llvm/trunk/lib/Target/PIC16/PIC16Section.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/PIC16Section.h?rev=78502&view=auto

==============================================================================
--- llvm/trunk/lib/Target/PIC16/PIC16Section.h (original)
+++ llvm/trunk/lib/Target/PIC16/PIC16Section.h (removed)
@@ -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

Modified: llvm/trunk/lib/Target/PIC16/PIC16TargetObjectFile.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/PIC16TargetObjectFile.cpp?rev=78503&r1=78502&r2=78503&view=diff

==============================================================================
--- llvm/trunk/lib/Target/PIC16/PIC16TargetObjectFile.cpp (original)
+++ llvm/trunk/lib/Target/PIC16/PIC16TargetObjectFile.cpp Sat Aug  8 16:12:40 2009
@@ -8,7 +8,6 @@
 //===----------------------------------------------------------------------===//
 
 #include "PIC16TargetObjectFile.h"
-#include "PIC16Section.h"
 #include "PIC16ISelLowering.h"
 #include "PIC16TargetMachine.h"
 #include "llvm/DerivedTypes.h"
@@ -25,7 +24,7 @@
 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());
 }
 
 





More information about the llvm-commits mailing list