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 | 695ab7174f7f5451f195d2267669707730e15edc (patch) | |
tree | c329f236d031ff2e7312205e51861c9a5ffd980f | |
parent | c44bd78a2ebc9188e02393bbd074e2b5a418b6db (diff) | |
download | bcm5719-llvm-695ab7174f7f5451f195d2267669707730e15edc.tar.gz bcm5719-llvm-695ab7174f7f5451f195d2267669707730e15edc.zip |
remove dead method.
llvm-svn: 34164
-rw-r--r-- | llvm/include/llvm/Target/TargetData.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/include/llvm/Target/TargetData.h b/llvm/include/llvm/Target/TargetData.h index b714052f229..ed9d86e9353 100644 --- a/llvm/include/llvm/Target/TargetData.h +++ b/llvm/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. |