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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31173 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2006-10-24 20:48:29 +00:00
parent 93858f65d3
commit 5f90cbc56a

View File

@@ -147,7 +147,7 @@ public:
/// getPreferredAlignmentLog - Return the preferred alignment of the /// getPreferredAlignmentLog - Return the preferred alignment of the
/// specified global, returned in log form. This includes an explicitly /// specified global, returned in log form. This includes an explicitly
/// requested alignment (if the global has one). /// 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 /// StructLayout - used to lazily calculate structure layout information for a