Skip to content

Commit 643501f

Browse files
committed
Merge pull request #286 from nuts23/patch-5
Fix typo in AllocBoxToStack.cpp
2 parents 5826207 + 59f2854 commit 643501f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SILPasses/Scalar/AllocBoxToStack.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ static bool rewriteAllocBoxAsAllocStack(AllocBoxInst *ABI,
401401
return false;
402402

403403
// Promote this alloc_box to an alloc_stack. Insert the alloc_stack
404-
// at the beginning of the funtion.
404+
// at the beginning of the function.
405405
auto &Entry = ABI->getFunction()->front();
406406
SILBuilder BuildAlloc(&Entry, Entry.begin());
407407
BuildAlloc.setCurrentDebugScope(ABI->getDebugScope());

0 commit comments

Comments
 (0)