From 59f2854d2c04961c681b583756df8f04c355df7d Mon Sep 17 00:00:00 2001 From: Kanstantsin Linou Date: Sun, 6 Dec 2015 23:53:03 +0300 Subject: [PATCH] Fix typo in AllocBoxToStack.cpp 'function' -> 'function' --- lib/SILPasses/Scalar/AllocBoxToStack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SILPasses/Scalar/AllocBoxToStack.cpp b/lib/SILPasses/Scalar/AllocBoxToStack.cpp index d060843d2e925..23664015b2108 100644 --- a/lib/SILPasses/Scalar/AllocBoxToStack.cpp +++ b/lib/SILPasses/Scalar/AllocBoxToStack.cpp @@ -401,7 +401,7 @@ static bool rewriteAllocBoxAsAllocStack(AllocBoxInst *ABI, return false; // Promote this alloc_box to an alloc_stack. Insert the alloc_stack - // at the beginning of the funtion. + // at the beginning of the function. auto &Entry = ABI->getFunction()->front(); SILBuilder BuildAlloc(&Entry, Entry.begin()); BuildAlloc.setCurrentDebugScope(ABI->getDebugScope());