From: Benjamin Kramer Date: Sat, 28 Feb 2015 20:14:38 +0000 (+0000) Subject: StackColoring: Move set instead of copying. NFC. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=cdef9818bcbb2d341c07df886c8a1c869b07046d;p=oota-llvm.git StackColoring: Move set instead of copying. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230864 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/StackColoring.cpp b/lib/CodeGen/StackColoring.cpp index faf94b67fe7..75728033050 100644 --- a/lib/CodeGen/StackColoring.cpp +++ b/lib/CodeGen/StackColoring.cpp @@ -364,7 +364,7 @@ void StackColoring::calculateLocalLiveness() { } } - BBSet = NextBBSet; + BBSet = std::move(NextBBSet); }// while changed. }