[llvm-commits] [llvm] r56589 - in /llvm/trunk/include/llvm/Target: DarwinTargetAsmInfo.h ELFTargetAsmInfo.h

Anton Korobeynikov asl at math.spbu.ru
Wed Sep 24 15:23:17 PDT 2008


Author: asl
Date: Wed Sep 24 17:23:17 2008
New Revision: 56589

URL: http://llvm.org/viewvc/llvm-project?rev=56589&view=rev
Log:
Finally get rid of virtual inheritance in TAI

Modified:
    llvm/trunk/include/llvm/Target/DarwinTargetAsmInfo.h
    llvm/trunk/include/llvm/Target/ELFTargetAsmInfo.h

Modified: llvm/trunk/include/llvm/Target/DarwinTargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/DarwinTargetAsmInfo.h?rev=56589&r1=56588&r2=56589&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Target/DarwinTargetAsmInfo.h (original)
+++ llvm/trunk/include/llvm/Target/DarwinTargetAsmInfo.h Wed Sep 24 17:23:17 2008
@@ -24,7 +24,7 @@
   class Type;
   class Mangler;
 
-  struct DarwinTargetAsmInfo: public virtual TargetAsmInfo {
+  struct DarwinTargetAsmInfo: public TargetAsmInfo {
     const Section* TextCoalSection;
     const Section* ConstDataCoalSection;
     const Section* ConstDataSection;

Modified: llvm/trunk/include/llvm/Target/ELFTargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/ELFTargetAsmInfo.h?rev=56589&r1=56588&r2=56589&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Target/ELFTargetAsmInfo.h (original)
+++ llvm/trunk/include/llvm/Target/ELFTargetAsmInfo.h Wed Sep 24 17:23:17 2008
@@ -23,7 +23,7 @@
   class GlobalVariable;
   class Type;
 
-  struct ELFTargetAsmInfo: public virtual TargetAsmInfo {
+  struct ELFTargetAsmInfo: public TargetAsmInfo {
     explicit ELFTargetAsmInfo(const TargetMachine &TM);
 
     virtual const Section* SelectSectionForGlobal(const GlobalValue *GV) const;





More information about the llvm-commits mailing list