remove buildOrdinaryTaskExecutorRef until we need it

This commit is contained in:
Konrad `ktoso` Malawski
2023-11-02 15:20:45 +09:00
parent 16e94242d4
commit c29bffd2be
16 changed files with 8 additions and 131 deletions

View File

@@ -174,23 +174,6 @@ void irgen::emitBuildOrdinarySerialExecutorRef(IRGenFunction &IGF,
out.add(impl);
}
void irgen::emitBuildOrdinaryTaskExecutorRef(IRGenFunction &IGF,
llvm::Value *executor,
CanType executorType,
ProtocolConformanceRef executorConf,
Explosion &out) {
// The implementation word of an "ordinary" task executor is
// just the witness table pointer with no flags set.
llvm::Value *identity =
IGF.Builder.CreatePtrToInt(executor, IGF.IGM.ExecutorFirstTy);
llvm::Value *impl =
emitWitnessTableRef(IGF, executorType, executorConf);
impl = IGF.Builder.CreatePtrToInt(impl, IGF.IGM.ExecutorSecondTy);
out.add(identity);
out.add(impl);
}
void irgen::emitBuildComplexEqualitySerialExecutorRef(IRGenFunction &IGF,
llvm::Value *executor,
CanType executorType,