projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36bd82a
)
Cleanup
author
Chris Lattner
<sabre@nondot.org>
Fri, 7 Sep 2001 16:57:29 +0000
(16:57 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 7 Sep 2001 16:57:29 +0000
(16:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@467
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/iMemory.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/iMemory.cpp
b/lib/VMCore/iMemory.cpp
index 72af71fd3faf1e939beb90a82db55006bcf234ca..eefeeefdc173084a9c623a21ca2c2efe70d3de82 100644
(file)
--- a/
lib/VMCore/iMemory.cpp
+++ b/
lib/VMCore/iMemory.cpp
@@
-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());