mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-14 01:20:40 +00:00
[PBQP] Tidying up as per Dave Blaikie's suggesions for r220642.
llvm-svn: 220655
This commit is contained in:
parent
8d83e64313
commit
631d337177
@ -109,9 +109,9 @@ public:
|
||||
RS = Other.RS;
|
||||
NumOpts = Other.NumOpts;
|
||||
DeniedOpts = Other.DeniedOpts;
|
||||
OptUnsafeEdges = std::unique_ptr<unsigned[]>(new unsigned[NumOpts]);
|
||||
std::copy(&Other.OptUnsafeEdges[0], &Other.OptUnsafeEdges[NumOpts],
|
||||
&OptUnsafeEdges[0]);
|
||||
OptUnsafeEdges.reset(new unsigned[NumOpts]);
|
||||
std::copy(Other.OptUnsafeEdges.get(), Other.OptUnsafeEdges.get() + NumOpts,
|
||||
OptUnsafeEdges.get());
|
||||
VReg = Other.VReg;
|
||||
OptionRegs = Other.OptionRegs;
|
||||
return *this;
|
||||
|
Loading…
x
Reference in New Issue
Block a user