[llvm-commits] CVS: llvm/include/llvm/Target/TargetData.h

Devang Patel dpatel at apple.com
Tue Oct 24 13:48:43 PDT 2006



Changes in directory llvm/include/llvm/Target:

TargetData.h updated: 1.41 -> 1.42
---
Log message:

TargetData is not subclassed. So no need to have virtual method.


---
Diffs of the changes:  (+1 -1)

 TargetData.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/include/llvm/Target/TargetData.h
diff -u llvm/include/llvm/Target/TargetData.h:1.41 llvm/include/llvm/Target/TargetData.h:1.42
--- llvm/include/llvm/Target/TargetData.h:1.41	Tue Oct 24 15:32:14 2006
+++ llvm/include/llvm/Target/TargetData.h	Tue Oct 24 15:48:29 2006
@@ -147,7 +147,7 @@
   /// getPreferredAlignmentLog - Return the preferred alignment of the
   /// specified global, returned in log form.  This includes an explicitly
   /// requested alignment (if the global has one).
-  virtual unsigned getPreferredAlignmentLog(const GlobalVariable *GV) const;
+  unsigned getPreferredAlignmentLog(const GlobalVariable *GV) const;
 };
 
 /// StructLayout - used to lazily calculate structure layout information for a






More information about the llvm-commits mailing list