diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-10 20:37:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-10 20:37:40 +0000 |
commit | 4e9f579028d06d92fa6d39a25c818a61d2384544 (patch) | |
tree | 288081e804bb97baba6ef8488651a069298c5846 | |
parent | 829621c59e9e4e2f4e15cd562688fae9f82ea549 (diff) |
remove dead method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34164 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Target/TargetData.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/Target/TargetData.h b/include/llvm/Target/TargetData.h index b714052f22..ed9d86e935 100644 --- a/include/llvm/Target/TargetData.h +++ b/include/llvm/Target/TargetData.h @@ -22,8 +22,6 @@ #include "llvm/Pass.h" #include "llvm/Support/DataTypes.h" -#include <vector> -#include <string> namespace llvm { @@ -249,11 +247,6 @@ public: 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. |