From 263fd37590e0326ea9b6f91924caf3db266fc855 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Fri, 7 Jun 2019 17:56:29 +0200 Subject: Fix typos --- llvm_mode/split-switches-pass.so.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm_mode/split-switches-pass.so.cc') diff --git a/llvm_mode/split-switches-pass.so.cc b/llvm_mode/split-switches-pass.so.cc index 8d4db292..17cb62c2 100644 --- a/llvm_mode/split-switches-pass.so.cc +++ b/llvm_mode/split-switches-pass.so.cc @@ -152,7 +152,7 @@ BasicBlock* SplitSwitchesTransform::switchConvert(CaseVector Cases, std::vector< } PHINode *PN = cast(I); - /* Only update the first occurence. */ + /* Only update the first occurrence. */ unsigned Idx = 0, E = PN->getNumIncomingValues(); for (; Idx != E; ++Idx) { if (PN->getIncomingBlock(Idx) == OrigBlock) { @@ -276,7 +276,7 @@ bool SplitSwitchesTransform::splitSwitches(Module &M) { } PHINode *PN = cast(I); - /* Only update the first occurence. */ + /* Only update the first occurrence. */ unsigned Idx = 0, E = PN->getNumIncomingValues(); for (; Idx != E; ++Idx) { if (PN->getIncomingBlock(Idx) == OrigBlock) { -- cgit 1.4.1