mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 10:04:33 +00:00
remove dead method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34164 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
829621c59e
commit
4e9f579028
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user