Skip to content

Commit 0bb30d6

Browse files
committed
Fix type continued
1 parent 7bfa938 commit 0bb30d6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/IRGen/GenCall.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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});

lib/IRGen/GenFunc.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

28232823
llvm::Value *
28242824
IRGenFunction::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.

0 commit comments

Comments
 (0)