mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-06 03:38:24 +00:00
fit in 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106968 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
08189d625d
commit
ae925f5c1e
@ -624,8 +624,8 @@ public:
|
||||
return Insert(GetElementPtrInst::Create(Ptr, IdxBegin, IdxEnd), Name);
|
||||
}
|
||||
template<typename InputIterator>
|
||||
Value *CreateInBoundsGEP(Value *Ptr, InputIterator IdxBegin, InputIterator IdxEnd,
|
||||
const Twine &Name = "") {
|
||||
Value *CreateInBoundsGEP(Value *Ptr, InputIterator IdxBegin,
|
||||
InputIterator IdxEnd, const Twine &Name = "") {
|
||||
if (Constant *PC = dyn_cast<Constant>(Ptr)) {
|
||||
// Every index must be constant.
|
||||
InputIterator i;
|
||||
|
Loading…
Reference in New Issue
Block a user