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(
264
264
auto *fnTy = projectFn->getFunctionType ();
265
265
llvm::Value *callerContext = nullptr ;
266
266
if (projectFn == getOrCreateResumePrjFn ()) {
267
- callerContext = popAysncContext (calleeContext);
267
+ callerContext = popAsyncContext (calleeContext);
268
268
} else {
269
269
callerContext =
270
270
Builder.CreateCallWithoutDbgLoc (fnTy, projectFn, {calleeContext});
Original file line number Diff line number Diff line change @@ -2808,7 +2808,7 @@ void irgen::emitBlockHeader(IRGenFunction &IGF,
2808
2808
IGF.Builder .CreateStructGEP (headerAddr, 4 , layout));
2809
2809
}
2810
2810
2811
- llvm::Value *IRGenFunction::popAysncContext (llvm::Value *calleeContext) {
2811
+ llvm::Value *IRGenFunction::popAsyncContext (llvm::Value *calleeContext) {
2812
2812
auto addr = Builder.CreateBitOrPointerCast (calleeContext, IGM.Int8PtrPtrTy );
2813
2813
Address callerContextAddr (addr, IGM.Int8PtrTy , IGM.getPointerAlignment ());
2814
2814
llvm::Value *callerContext = Builder.CreateLoad (callerContextAddr);
@@ -2822,7 +2822,7 @@ llvm::Value *IRGenFunction::popAysncContext(llvm::Value *calleeContext) {
2822
2822
2823
2823
llvm::Value *
2824
2824
IRGenFunction::emitAsyncResumeProjectContext (llvm::Value *calleeContext) {
2825
- auto callerContext = popAysncContext (calleeContext);
2825
+ auto callerContext = popAsyncContext (calleeContext);
2826
2826
2827
2827
// TODO: remove this once all platforms support lowering the intrinsic.
2828
2828
// At the time of this writing only arm64 supports it.
You can’t perform that action at this time.
0 commit comments