RewriteStatepointsForGC::PhiState: Remove explicit copy ctor in favor of the Rule...
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 21:49:07 +0000 (21:49 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 21:49:07 +0000 (21:49 +0000)
commit9bc6a97f8f166199e6d881b99d0ab2fa757d67c4
tree328a7ff6f47922a0fc887b91c48d6f4b7c8acb2d
parent017ba3988f764d090de3f3a2d5b52daca28cf2bf
RewriteStatepointsForGC::PhiState: Remove explicit copy ctor in favor of the Rule of Zero

The assertion was just checking a class invariant that's pretty easy to
verify by inspection (no mutating operations, and the two non-copy ctors
already ensure the state is maintained) so remove the explicit copy ctor
in favor of the default, thus allowing the use of the default copy
assignment operator without hitting the C++11 deprecation here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231143 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp