diff --git a/lib/VMCore/iMemory.cpp b/lib/VMCore/iMemory.cpp index 917692e8963..7c8f66599f5 100644 --- a/lib/VMCore/iMemory.cpp +++ b/lib/VMCore/iMemory.cpp @@ -116,8 +116,8 @@ static inline const Type *checkType(const Type *Ty) { GetElementPtrInst::GetElementPtrInst(Value *Ptr, const std::vector &Idx, const std::string &Name, Instruction *InBe) : Instruction(PointerType::get(checkType(getIndexedType(Ptr->getType(), - Idx, true))), - GetElementPtr, Name, InBe) { + Idx, true))), + GetElementPtr, Name, InBe) { Operands.reserve(1+Idx.size()); Operands.push_back(Use(Ptr, this));