Skip to content

Commit c0f34c8

Browse files
committed
[Coroutine] Fix typos in comment
1 parent 839eae3 commit c0f34c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Coroutines/CoroFrame.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,10 +637,10 @@ void FrameTypeBuilder::addFieldForAllocas(const Function &F,
637637
return;
638638
}
639639

640-
// Because there are pathes from the lifetime.start to coro.end
640+
// Because there are paths from the lifetime.start to coro.end
641641
// for each alloca, the liferanges for every alloca is overlaped
642642
// in the blocks who contain coro.end and the successor blocks.
643-
// So we choose to skip there blocks when we calculates the liferange
643+
// So we choose to skip there blocks when we calculate the liferange
644644
// for each alloca. It should be reasonable since there shouldn't be uses
645645
// in these blocks and the coroutine frame shouldn't be used outside the
646646
// coroutine body.

0 commit comments

Comments
 (0)