diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-13 17:39:10 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-13 17:39:10 +0000 |
commit | e82c286fba51ffabd4979cedb3a3b2c9b02ec0f4 (patch) | |
tree | 3e979e156395350e71172e4150e2bed0865b180b /llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp | |
parent | c8f02e7540117f9f1fdfa500bc899e14232b5712 (diff) | |
download | llvm-e82c286fba51ffabd4979cedb3a3b2c9b02ec0f4.zip llvm-e82c286fba51ffabd4979cedb3a3b2c9b02ec0f4.tar.gz llvm-e82c286fba51ffabd4979cedb3a3b2c9b02ec0f4.tar.bz2 |
Instrumentation: Remove ilist iterator implicit conversions, NFC
llvm-svn: 250186
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp b/llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp index f685803..fd3dfd9 100644 --- a/llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp +++ b/llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp @@ -106,7 +106,7 @@ void BoundsChecking::emitBranchToTrap(Value *Cmp) { } ++ChecksAdded; - Instruction *Inst = Builder->GetInsertPoint(); + BasicBlock::iterator Inst = Builder->GetInsertPoint(); BasicBlock *OldBB = Inst->getParent(); BasicBlock *Cont = OldBB->splitBasicBlock(Inst); OldBB->getTerminator()->eraseFromParent(); |