forked from OSchip/llvm-project
minor cosmetic changes that happened to sit in my tree
llvm-svn: 107764
This commit is contained in:
parent
3f3ff5cc87
commit
99ed90a7a0
|
@ -886,14 +886,14 @@ public:
|
|||
InputIterator ArgBegin, InputIterator ArgEnd,
|
||||
const Twine &NameStr = "",
|
||||
Instruction *InsertBefore = 0) {
|
||||
return new((unsigned)(ArgEnd - ArgBegin + 1))
|
||||
return new(unsigned(ArgEnd - ArgBegin + 1))
|
||||
CallInst(Func, ArgBegin, ArgEnd, NameStr, InsertBefore);
|
||||
}
|
||||
template<typename InputIterator>
|
||||
static CallInst *Create(Value *Func,
|
||||
InputIterator ArgBegin, InputIterator ArgEnd,
|
||||
const Twine &NameStr, BasicBlock *InsertAtEnd) {
|
||||
return new((unsigned)(ArgEnd - ArgBegin + 1))
|
||||
return new(unsigned(ArgEnd - ArgBegin + 1))
|
||||
CallInst(Func, ArgBegin, ArgEnd, NameStr, InsertAtEnd);
|
||||
}
|
||||
static CallInst *Create(Value *F, Value *Actual,
|
||||
|
@ -1116,7 +1116,7 @@ CallInst::CallInst(Value *Func, InputIterator ArgBegin, InputIterator ArgEnd,
|
|||
->getElementType())->getReturnType(),
|
||||
Instruction::Call,
|
||||
OperandTraits<CallInst>::op_end(this) - (ArgEnd - ArgBegin + 1),
|
||||
(unsigned)(ArgEnd - ArgBegin + 1), InsertBefore) {
|
||||
unsigned(ArgEnd - ArgBegin + 1), InsertBefore) {
|
||||
init(Func, ArgBegin, ArgEnd, NameStr,
|
||||
typename std::iterator_traits<InputIterator>::iterator_category());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue