[NFC] Formatting cleanup to help with next conflicts

This commit is contained in:
Ben Barham
2021-10-15 17:15:51 +10:00
parent ea82df3e4a
commit 624337148b
7 changed files with 14 additions and 15 deletions

View File

@@ -697,7 +697,7 @@ void IRGenModule::emitRuntimeRegistration() {
llvm::ConstantInt::get(Int32Ty, 0),
};
auto begin = llvm::ConstantExpr::getGetElementPtr(
protocols->getType()->getPointerElementType(), protocols, beginIndices);
protocols->getType()->getPointerElementType(), protocols, beginIndices);
llvm::Constant *endIndices[] = {
llvm::ConstantInt::get(Int32Ty, 0),
llvm::ConstantInt::get(Int32Ty, SwiftProtocols.size()),
@@ -725,7 +725,7 @@ void IRGenModule::emitRuntimeRegistration() {
auto end = llvm::ConstantExpr::getGetElementPtr(
conformances->getType()->getPointerElementType(),
conformances, endIndices);
RegIGF.Builder.CreateCall(getRegisterProtocolConformancesFn(), {begin, end});
}