[llvm-commits] CVS: llvm/include/llvm/Target/TargetData.h
Chris Lattner
sabre at nondot.org
Sat Feb 10 12:37:56 PST 2007
Changes in directory llvm/include/llvm/Target:
TargetData.h updated: 1.52 -> 1.53
---
Log message:
remove dead method.
---
Diffs of the changes: (+0 -7)
TargetData.h | 7 -------
1 files changed, 7 deletions(-)
Index: llvm/include/llvm/Target/TargetData.h
diff -u llvm/include/llvm/Target/TargetData.h:1.52 llvm/include/llvm/Target/TargetData.h:1.53
--- llvm/include/llvm/Target/TargetData.h:1.52 Sat Feb 10 14:15:41 2007
+++ llvm/include/llvm/Target/TargetData.h Sat Feb 10 14:37:40 2007
@@ -22,8 +22,6 @@
#include "llvm/Pass.h"
#include "llvm/Support/DataTypes.h"
-#include <vector>
-#include <string>
namespace llvm {
@@ -249,11 +247,6 @@
uint64_t getIndexedOffset(const Type *Ty,
Value* const* Indices, unsigned NumIndices) const;
- uint64_t getIndexedOffset(const Type *Ty,
- const std::vector<Value*> &Indices) const {
- return getIndexedOffset(Ty, &Indices[0], Indices.size());
- }
-
/// getStructLayout - Return a StructLayout object, indicating the alignment
/// of the struct, its size, and the offsets of its fields. Note that this
/// information is lazily cached.
More information about the llvm-commits
mailing list