diff options
author | Heiko Eißfeldt <heikoi@hexco.de> | 2019-06-12 17:21:26 +0200 |
---|---|---|
committer | Heiko Eißfeldt <heikoi@hexco.de> | 2019-06-12 17:21:26 +0200 |
commit | 0113c4f8342925a02dfc9832de4f7f848d88e190 (patch) | |
tree | 1c1ec888d5f42b9ee3441fda08b9ab73fc403f7e /llvm_mode/split-switches-pass.so.cc | |
parent | 1c2ed83960fd79727d0f34b11ee361c37c953923 (diff) | |
parent | 7a236b11b84545e53760c86a0425409283d1c7fc (diff) | |
download | afl++-0113c4f8342925a02dfc9832de4f7f848d88e190.tar.gz |
Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus
Diffstat (limited to 'llvm_mode/split-switches-pass.so.cc')
-rw-r--r-- | llvm_mode/split-switches-pass.so.cc | 4 |
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 bed39bc3..45847f88 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) { @@ -278,7 +278,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) { |