File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ llvm::CallInst *IRGenFunction::emitSuspendAsyncCall(
264264 auto *fnTy = projectFn->getFunctionType ();
265265 llvm::Value *callerContext = nullptr ;
266266 if (projectFn == getOrCreateResumePrjFn ()) {
267- callerContext = popAysncContext (calleeContext);
267+ callerContext = popAsyncContext (calleeContext);
268268 } else {
269269 callerContext =
270270 Builder.CreateCallWithoutDbgLoc (fnTy, projectFn, {calleeContext});
Original file line number Diff line number Diff line change @@ -2808,7 +2808,7 @@ void irgen::emitBlockHeader(IRGenFunction &IGF,
28082808 IGF.Builder .CreateStructGEP (headerAddr, 4 , layout));
28092809}
28102810
2811- llvm::Value *IRGenFunction::popAysncContext (llvm::Value *calleeContext) {
2811+ llvm::Value *IRGenFunction::popAsyncContext (llvm::Value *calleeContext) {
28122812 auto addr = Builder.CreateBitOrPointerCast (calleeContext, IGM.Int8PtrPtrTy );
28132813 Address callerContextAddr (addr, IGM.Int8PtrTy , IGM.getPointerAlignment ());
28142814 llvm::Value *callerContext = Builder.CreateLoad (callerContextAddr);
@@ -2822,7 +2822,7 @@ llvm::Value *IRGenFunction::popAysncContext(llvm::Value *calleeContext) {
28222822
28232823llvm::Value *
28242824IRGenFunction::emitAsyncResumeProjectContext (llvm::Value *calleeContext) {
2825- auto callerContext = popAysncContext (calleeContext);
2825+ auto callerContext = popAsyncContext (calleeContext);
28262826
28272827 // TODO: remove this once all platforms support lowering the intrinsic.
28282828 // At the time of this writing only arm64 supports it.
You can’t perform that action at this time.
0 commit comments