[llvm] r247247 - GlobalsAAResult(&&): Move every members.
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 00:16:43 PDT 2015
Author: chapuni
Date: Thu Sep 10 02:16:42 2015
New Revision: 247247
URL: http://llvm.org/viewvc/llvm-project?rev=247247&view=rev
Log:
GlobalsAAResult(&&): Move every members.
Or, one of MSVC builders failed with unexpected behavior.
Modified:
llvm/trunk/lib/Analysis/GlobalsModRef.cpp
Modified: llvm/trunk/lib/Analysis/GlobalsModRef.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/GlobalsModRef.cpp?rev=247247&r1=247246&r2=247247&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/GlobalsModRef.cpp (original)
+++ llvm/trunk/lib/Analysis/GlobalsModRef.cpp Thu Sep 10 02:16:42 2015
@@ -789,7 +789,12 @@ GlobalsAAResult::GlobalsAAResult(const D
: AAResultBase(TLI), DL(DL) {}
GlobalsAAResult::GlobalsAAResult(GlobalsAAResult &&Arg)
- : AAResultBase(std::move(Arg)), DL(Arg.DL) {}
+ : AAResultBase(std::move(Arg)), DL(Arg.DL),
+ NonAddressTakenGlobals(std::move(Arg.NonAddressTakenGlobals)),
+ IndirectGlobals(std::move(Arg.IndirectGlobals)),
+ AllocsForIndirectGlobals(std::move(Arg.AllocsForIndirectGlobals)),
+ FunctionInfos(std::move(Arg.FunctionInfos)),
+ Handles(std::move(Arg.Handles)) {}
/*static*/ GlobalsAAResult
GlobalsAAResult::analyzeModule(Module &M, const TargetLibraryInfo &TLI,
More information about the llvm-commits
mailing list