From b4f2e5dfdf95b59db1003bfea03c2362ecc9ea25 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Mon, 14 Dec 2015 00:11:40 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20typo:=20eliminater=20=E2=86=92=20eliminat?= =?UTF-8?q?or?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/SILOptimizer/Transforms/CopyForwarding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SILOptimizer/Transforms/CopyForwarding.cpp b/lib/SILOptimizer/Transforms/CopyForwarding.cpp index 92e5108cb29..1cbe2de3c12 100644 --- a/lib/SILOptimizer/Transforms/CopyForwarding.cpp +++ b/lib/SILOptimizer/Transforms/CopyForwarding.cpp @@ -778,7 +778,7 @@ bool CopyForwarding::backwardPropagateCopy( // Convert a reinitialization of this address into a destroy, followed by an // initialization. Replacing a copy with a destroy+init is not by itself // profitable. However, it does allow us to eliminate the later copy, and the - // init copy may be eliminater later. + // init copy may be eliminator later. if (auto Copy = dyn_cast(&*SI)) { if (Copy->getDest() == CopySrc && !Copy->isInitializationOfDest()) { SILBuilderWithScope(Copy).createDestroyAddr(Copy->getLoc(), CopySrc);