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/Instrumentation.cpp | |
parent | c8f02e7540117f9f1fdfa500bc899e14232b5712 (diff) | |
download | bcm5719-llvm-e82c286fba51ffabd4979cedb3a3b2c9b02ec0f4.tar.gz bcm5719-llvm-e82c286fba51ffabd4979cedb3a3b2c9b02ec0f4.zip |
Instrumentation: Remove ilist iterator implicit conversions, NFC
llvm-svn: 250186
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/Instrumentation.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/Instrumentation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp b/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp index 68aee227e9e..c504b5a8199 100644 --- a/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp +++ b/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp @@ -26,7 +26,7 @@ static BasicBlock::iterator moveBeforeInsertPoint(BasicBlock::iterator I, BasicB if (I == IP) return ++IP; // Otherwise, move I before IP and return IP. - I->moveBefore(IP); + I->moveBefore(&*IP); return IP; } |