Eliminate some deep std::vector copies. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218999 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer
2014-10-03 18:33:16 +00:00
parent 3c5eaffc07
commit 63688e622c
14 changed files with 25 additions and 50 deletions
+1 -1
View File
@@ -530,7 +530,7 @@ bool ArgPromotion::isSafeToPromoteArgument(Argument *Arg,
// of elements of the aggregate.
return false;
}
ToPromote.insert(Operands);
ToPromote.insert(std::move(Operands));
}
}