diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-24 20:23:44 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-24 20:23:44 +0000 |
commit | 75ef0c09d0b5c3f9b6ee9e1dc1874b9d0001e8a4 (patch) | |
tree | 97d76ad433bd6df9fbc4a19db493c9151535b017 /llvm/lib/IR/LLVMContextImpl.h | |
parent | a211afa448c811c7e1b00e5edf712c15ddd09bcd (diff) | |
download | bcm5719-llvm-75ef0c09d0b5c3f9b6ee9e1dc1874b9d0001e8a4.tar.gz bcm5719-llvm-75ef0c09d0b5c3f9b6ee9e1dc1874b9d0001e8a4.zip |
IR: Use remove_if for Instruction::dropUnknownMetadata()
Technically the operations are different -- the old logic moved items
from the back into the opened-up slots, instead of the usual
`remove_if()` logic of a slow and a fast iterator -- but unless a
profile tells us otherwise I prefer the simpler logic here. Regardless,
there shouldn't be an observable function change.
llvm-svn: 235767
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.h')
0 files changed, 0 insertions, 0 deletions