about summary refs log tree commit diff
path: root/llvm_mode/split-switches-pass.so.cc
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-06-07 21:32:27 +0200
committerGitHub <noreply@github.com>2019-06-07 21:32:27 +0200
commit46e58b434acf66181bc64f82c754d3294e15bd3e (patch)
treed38a333f941d112da6f2854534fd735d90645146 /llvm_mode/split-switches-pass.so.cc
parentba37bf13d60dd6d889d7125d996412f99651ef07 (diff)
parent263fd37590e0326ea9b6f91924caf3db266fc855 (diff)
downloadafl++-46e58b434acf66181bc64f82c754d3294e15bd3e.tar.gz
Merge pull request #4 from practicalswift/typo
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) {