summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackMaps.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-08-12 04:32:37 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-08-12 04:32:37 +0000
commitc700490f485f78e1d6d1b6577d17ef76066bcf1f (patch)
treecb801fcb9b78b8803a9753f4333a0baaf96643a2 /llvm/lib/CodeGen/StackMaps.cpp
parent0da5afe7172f254226c63f8dcb92d6729d02b959 (diff)
downloadbcm5719-llvm-c700490f485f78e1d6d1b6577d17ef76066bcf1f.tar.gz
bcm5719-llvm-c700490f485f78e1d6d1b6577d17ef76066bcf1f.zip
Use the range variant of remove_if instead of unpacking begin/end
No functionality change is intended. llvm-svn: 278475
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
-rw-r--r--llvm/lib/CodeGen/StackMaps.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/StackMaps.cpp b/llvm/lib/CodeGen/StackMaps.cpp
index 26324c3af47..01ce527e9ae 100644
--- a/llvm/lib/CodeGen/StackMaps.cpp
+++ b/llvm/lib/CodeGen/StackMaps.cpp
@@ -272,8 +272,7 @@ StackMaps::parseRegisterLiveOutMask(const uint32_t *Mask) const {
}
LiveOuts.erase(
- std::remove_if(LiveOuts.begin(), LiveOuts.end(),
- [](const LiveOutReg &LO) { return LO.Reg == 0; }),
+ remove_if(LiveOuts, [](const LiveOutReg &LO) { return LO.Reg == 0; }),
LiveOuts.end());
return LiveOuts;
OpenPOWER on IntegriCloud