mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 14:10:41 +00:00
Cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@467 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
36bd82aa47
commit
bc7a95eb7a
@ -86,8 +86,7 @@ StoreInst::StoreInst(Value *Val, Value *Ptr, const vector<ConstPoolVal*> &Idx,
|
||||
GetElementPtrInst::GetElementPtrInst(Value *Ptr,
|
||||
const vector<ConstPoolVal*> &Idx,
|
||||
const string &Name = "")
|
||||
: MemAccessInst(PointerType::getPointerType(getIndexedType(Ptr->getType(),
|
||||
Idx, true)),
|
||||
: MemAccessInst(PointerType::get(getIndexedType(Ptr->getType(), Idx, true)),
|
||||
GetElementPtr, Idx, Name) {
|
||||
assert(getIndexedType(Ptr->getType(), Idx, true) && "gep operands invalid!");
|
||||
Operands.reserve(1+Idx.size());
|
||||
|
Loading…
Reference in New Issue
Block a user