@@ -2031,7 +2031,7 @@ void SwiftMergeFunctions::removeEquivalenceClassFromTree(FunctionEntry *FE) {
2031
2031
// Helper for writeThunk,
2032
2032
// Selects proper bitcast operation,
2033
2033
// but a bit simpler then CastInst::getCastOpcode.
2034
- static Value *createCast (IRBuilder<false > &Builder, Value *V, Type *DestTy) {
2034
+ static Value *createCast (IRBuilder<> &Builder, Value *V, Type *DestTy) {
2035
2035
Type *SrcTy = V->getType ();
2036
2036
if (SrcTy->isStructTy ()) {
2037
2037
assert (DestTy->isStructTy ());
@@ -2066,7 +2066,7 @@ void SwiftMergeFunctions::writeThunk(Function *ToFunc, Function *Thunk,
2066
2066
Thunk->dropAllReferences ();
2067
2067
2068
2068
BasicBlock *BB = BasicBlock::Create (Thunk->getContext (), " " , Thunk);
2069
- IRBuilder<false > Builder (BB);
2069
+ IRBuilder<> Builder (BB);
2070
2070
2071
2071
SmallVector<Value *, 16 > Args;
2072
2072
unsigned ParamIdx = 0 ;
@@ -2137,7 +2137,7 @@ bool SwiftMergeFunctions::replaceDirectCallers(Function *Old, Function *New,
2137
2137
2138
2138
SmallVector<Type *, 8 > OldParamTypes;
2139
2139
SmallVector<Value *, 16 > NewArgs;
2140
- IRBuilder<false > Builder (CI);
2140
+ IRBuilder<> Builder (CI);
2141
2141
2142
2142
FunctionType *NewFuncTy = New->getFunctionType ();
2143
2143
unsigned ParamIdx = 0 ;
0 commit comments