mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-03 09:21:02 +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