about summary refs log tree commit diff
path: root/llvm_mode/split-switches-pass.so.cc
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2019-06-07 17:56:29 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2019-06-07 17:56:29 +0200
commit263fd37590e0326ea9b6f91924caf3db266fc855 (patch)
treed38a333f941d112da6f2854534fd735d90645146 /llvm_mode/split-switches-pass.so.cc
parentba37bf13d60dd6d889d7125d996412f99651ef07 (diff)
downloadafl++-263fd37590e0326ea9b6f91924caf3db266fc855.tar.gz
Fix typos
Diffstat (limited to 'llvm_mode/split-switches-pass.so.cc')
-rw-r--r--llvm_mode/split-switches-pass.so.cc4
1 files changed, 2 insertions, 2 deletions
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<PHINode>(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<PHINode>(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) {